Skip to main content
Vulnerability Database/CVE-2026-104054

CVE-2026-104054: Cal.com Authorization Bypass Vulnerability

CVE-2026-104054 is an authorization bypass flaw in Cal.com cal.diy up to version 6.2.0 affecting the PBAC Permission Engine. Attackers can exploit this remotely to gain unauthorized access. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-104054 Overview

CVE-2026-104054 is a missing authorization vulnerability [CWE-862] in cal.com cal.diy versions up to 6.2.0. The flaw resides in the doesUserIdHaveAccessToBooking function within BookingAccessService.ts, part of the Policy-Based Access Control (PBAC) Permission Engine. An authenticated remote attacker can manipulate the request path to access booking resources without proper authorization checks. A public exploit has been released, and the upstream pull request to remediate the issue remains pending acceptance at the time of publication.

Critical Impact

Authenticated remote users can bypass booking-level authorization in the PBAC engine, resulting in limited exposure of booking confidentiality, integrity, and availability.

Affected Products

  • cal.com cal.diy versions up to and including 6.2.0
  • Component: PBAC Permission Engine (BookingAccessService.ts)
  • Function: doesUserIdHaveAccessToBooking

Discovery Timeline

  • 2026-10-02 - CVE-2026-104054 published to the National Vulnerability Database
  • 2026-10-02 - Last updated in NVD database

Technical Details for CVE-2026-104054

Vulnerability Analysis

The vulnerability is a missing authorization weakness classified under [CWE-862]. The doesUserIdHaveAccessToBooking function in BookingAccessService.ts fails to correctly enforce access control checks before returning booking data. The PBAC Permission Engine is intended to centralize authorization decisions in cal.diy, so a defect in this function cascades across all booking-related operations that depend on it. An attacker with a valid session can send crafted requests targeting booking identifiers they do not own and have the server return or operate on those bookings. The flaw is reachable over the network and requires only low privileges, with no user interaction. Impact is limited in scope to the booking resource surface governed by the engine.

Root Cause

The root cause is an authorization check gap inside the PBAC Permission Engine. doesUserIdHaveAccessToBooking does not reliably verify that the supplied user identifier owns, or has delegated access to, the requested booking before permitting the operation. The authorization decision is either skipped under specific code paths or returns an overly permissive result. Review of the pending fix in GitHub Pull Request #30253 provides the specific logic changes.

Attack Vector

Exploitation is performed remotely by an authenticated user sending API requests that reference booking identifiers belonging to other tenants or users. Because the PBAC engine does not reject these requests, the attacker can read or manipulate booking data outside their authorization scope. No special tooling is required beyond standard HTTP client access to the cal.diy application. A public exploit has been released, lowering the barrier for opportunistic abuse. The vulnerability mechanism is described in prose only; refer to GitHub Issue Report #29802 and GitHub Pull Request #30253 for the technical specifics of the vulnerable code path and the proposed remediation.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-104054

Indicators of Compromise

  • Application logs showing a single authenticated user accessing booking identifiers across many unrelated accounts or organizations in a short timeframe.
  • Successful HTTP responses to booking API endpoints where the requesting user is not the booking owner or an authorized delegate.
  • Anomalous invocations of code paths that reach doesUserIdHaveAccessToBooking with mismatched user and booking ownership.

Detection Strategies

  • Instrument the PBAC Permission Engine to emit structured authorization decision logs including requesting user ID, target booking ID, and the decision outcome.
  • Correlate booking API access patterns against ownership metadata to flag cross-tenant reads or writes.
  • Baseline normal per-user booking access volume and alert on sudden spikes consistent with enumeration.

Monitoring Recommendations

  • Forward application and reverse-proxy logs to a centralized analytics platform and retain them long enough to investigate past abuse.
  • Monitor the EPSS score (currently 0.209%) and reassess detection priority if it changes materially.
  • Track the status of GitHub Pull Request #30253 and subscribe to notifications on the upstream repository for the official fix.

How to Mitigate CVE-2026-104054

Immediate Actions Required

  • Inventory all deployments of cal.diy and identify instances running versions up to and including 6.2.0.
  • Restrict access to the cal.diy application to trusted networks or authenticated users with least-privilege roles until a patched release is available.
  • Review booking access logs for signs of exploitation using the public proof of concept referenced in VulDB Vulnerability #412762.

Patch Information

At the time of publication, the upstream fix is tracked in GitHub Pull Request #30253 and awaits acceptance. No official patched release has been issued. Operators should apply the upstream fix once merged and released, or backport the authorization check changes from the pull request if an interim remediation is required.

Workarounds

  • Apply a server-side authorization check at the API gateway or reverse proxy that verifies the authenticated user owns the requested booking identifier before forwarding the request.
  • Reduce the privilege level of standard user accounts within the PBAC configuration to minimize the booking surface an attacker can reach.
  • Where feasible, isolate tenants into separate deployments so that a successful bypass cannot cross organizational boundaries.
bash
# Configuration example
# Refer to the official cal.diy documentation for guidance.
# Track the upstream remediation at:
# https://github.com/calcom/cal.diy/pull/30253

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.