CVE-2024-58354
published high CVSS 4.0 · 8.5cal.com Repository Takeover via pull_request_target Workflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| calcom | — | cal.diy | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.9 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| calcom | cal.diy | Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
3- Patch Commit https://github.com/calcom/cal.diy/commit/9aa60fae41a6b6b101c86bf430754b439f440871
- GitHub Security Advisory (GHSA-p3f6-52gv-cj7m) https://github.com/calcom/cal.diy/security/advisories/GHSA-p3f6-52gv-cj7m
- VulnCheck Advisory: cal.com Repository Takeover via pull_request_target Workflow https://www.vulncheck.com/advisories/cal-com-repository-takeover-via-pull-request-target-workflow
Provider assertions
2VulnCheck · cna
cal.com Repository Takeover via pull_request_target Workflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ec6dbf2bf3f18793c99ebad81c1e74630de9ccaeda54082394f78167f554d9e1
- Ingested
- 23 Sep 2026, 08:32:30 UTC
- Source record
- Official CVE record