# CVE-2024-58354: cal.com Repository Takeover via pull_request_target Workflow

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-23T21:16:43.545Z
- Modified: 2026-10-02T00:10:00.180Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- calcom cal.diy: no versions given

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H`

## References

- <https://github.com/calcom/cal.diy/security/advisories/GHSA-p3f6-52gv-cj7m> (exploit, vendor-advisory)
- <https://github.com/calcom/cal.diy/commit/9aa60fae41a6b6b101c86bf430754b439f440871> (patch)
- <https://www.vulncheck.com/advisories/cal-com-repository-takeover-via-pull-request-target-workflow> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-58354](https://www.cve.org/CVERecord?id=CVE-2024-58354), CVE Terms of Use, modified 2026-07-24
- NVD: [CVE-2024-58354](https://nvd.nist.gov/vuln/detail/CVE-2024-58354), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2024-58354 · Whole record: https://cve.day/CVE-2024-58354.json · Rebuilt by cve.day 2026-11-25T22:58:53.056Z
