Description
cal.com (calcom repository, later renamed cal.diy) is affected by a repository takeover vulnerability in its GitHub Actions workflows. The workflow pr.yml uses the pull_request_target trigger with the repository's default write permissions and passes them down to check-types.yml. check-types.yml then performs a 'dangerous' checkout of the attacker-submitted pull request code (via the dangerous-git-checkout action) and subsequently executes it (through yarn install and package.json scripts). An attacker can open a pull request whose code runs arbitrary commands with the repository's write-scoped GITHUB_TOKEN, allowing them to push commits, merge or mutate pull requests, add or delete comments, and delete or force-push branches, thereby compromising the repository. The main branch is affected; no patched version is available.
Published: 2026-07-23
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

cal.com (formerly cal.diy) suffers a repository takeover due to misconfigured GitHub Actions workflows. The pr.yml workflow triggers on pull_request_target, granting the workflow full write access to the repository and passing the credentials to the check-types.yml script, which performs a dangerous checkout of pull request code and executes it. This flaw, classified as CWE‑77, lets an attacker run arbitrary commands with the write‑scoped GITHUB_TOKEN, enabling commit pushes, merges, deletions, and force‑pushes of branches, effectively owning the repository.

Affected Systems

All users of the cal.com platform, including those who host their own instance of cal.diy, are impacted. The vulnerable workflows reside in the main branch of the cal.com repository (referred to as cal.diy). No patched version has been released, so all deployments using the current workflow configuration remain exposed. Administrators should confirm the version of the repository and monitor for updates.

Risk and Exploitability

With a CVSS score of 8.5, the attack severity is high. The EPSS score is less than 1 %, suggesting a low but non‑zero chance of exploitation in the near term, and the vulnerability is not yet in the CISA KEV catalog. The typical attack path involves an authenticated contributor submitting a pull request: the workflow runs with the repository‑write token, the dangerous checkout pulls the attacker’s code, and the subsequent script installation and execution grant the attacker full control. Because the flaw lives in the workflow definition rather than a binary code path, the vulnerability can be exploited remotely from within the GitHub environment without any additional network access.

Generated by OpenCVE AI on August 3, 2026 at 20:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Remove the dangerous-git-checkout action from the git checkout process or replace it with a vetted action that does not execute arbitrary code.
  • Reconfigure the repository to use the pull_request trigger instead of pull_request_target, thereby preventing the workflow from inheriting repository write permissions.
  • Apply strict branch protection rules and enforce mandatory code reviews for all pull requests, ensuring that only trusted contributors can merge code affecting the repository.

Generated by OpenCVE AI on August 3, 2026 at 20:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 23 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Calcom
Calcom cal.diy
Vendors & Products Calcom
Calcom cal.diy

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description cal.com (calcom repository, later renamed cal.diy) is affected by a repository takeover vulnerability in its GitHub Actions workflows. The workflow pr.yml uses the pull_request_target trigger with the repository's default write permissions and passes them down to check-types.yml. check-types.yml then performs a 'dangerous' checkout of the attacker-submitted pull request code (via the dangerous-git-checkout action) and subsequently executes it (through yarn install and package.json scripts). An attacker can open a pull request whose code runs arbitrary commands with the repository's write-scoped GITHUB_TOKEN, allowing them to push commits, merge or mutate pull requests, add or delete comments, and delete or force-push branches, thereby compromising the repository. The main branch is affected; no patched version is available.
Title cal.com Repository Takeover via pull_request_target Workflow
Weaknesses CWE-77
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:L/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-24T21:35:07.962Z

Reserved: 2026-06-08T15:20:35.497Z

Link: CVE-2024-58354

cve-icon Vulnrichment

Updated: 2026-07-24T14:36:31.256Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T22:16:51.380

Modified: 2026-07-30T16:41:25.650

Link: CVE-2024-58354

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T21:00:12Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')