CVE-2024-58354

Source
https://cve.org/CVERecord?id=CVE-2024-58354
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58354.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-58354
Aliases
  • GHSA-p3f6-52gv-cj7m
Published
2026-07-23T21:16:43.545Z
Modified
2026-07-27T03:56:24.511332771Z
Severity
  • 8.5 (High) CVSS_V4 - 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 CVSS Calculator
Summary
cal.com Repository Takeover via pull_request_target Workflow
Details

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

Database specific
{
    "cna_assigner": "VulnCheck",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58354.json",
    "cwe_ids": [
        "CWE-77"
    ]
}
References

Affected packages

Git / github.com/calcom/cal.diy

Affected ranges

Type
GIT
Repo
https://github.com/calcom/cal.diy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58354.json"