{"id":"CVE-2024-58354","published":"2026-07-23T21:16:43Z","modified":"2026-07-24T21:35:07Z","title":"cal.com Repository Takeover via pull_request_target Workflow","vendor":"calcom","product":"cal.diy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00559,"percentile":0.40215,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/calcom/cal.diy/security/advisories/GHSA-p3f6-52gv-cj7m","tags":["vendor-advisory"]},{"url":"https://github.com/calcom/cal.diy/commit/9aa60fae41a6b6b101c86bf430754b439f440871","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/cal-com-repository-takeover-via-pull-request-target-workflow","tags":["third-party-advisory"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":8.04},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"calcom","affectedVersions":[{"vendor":"calcom","product":"cal.diy","versions":["all versions"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-24T14:36:18.577336Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-55699","exploited":false,"provenance":"source"}}