{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-58354","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-06-08T15:20:35.497Z","datePublished":"2026-07-23T21:16:43.545Z","dateUpdated":"2026-07-24T21:35:07.962Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-07-24T21:35:07.962Z"},"datePublic":"2024-04-08T00:00:00.000Z","title":"cal.com Repository Takeover via pull_request_target Workflow","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","cweId":"CWE-77","type":"CWE"}]}],"affected":[{"vendor":"calcom","product":"cal.diy","defaultStatus":"affected"}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"LOW","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL"}}],"references":[{"url":"https://github.com/calcom/cal.diy/security/advisories/GHSA-p3f6-52gv-cj7m","name":"GitHub Security Advisory (GHSA-p3f6-52gv-cj7m)","tags":["vendor-advisory"]},{"url":"https://github.com/calcom/cal.diy/commit/9aa60fae41a6b6b101c86bf430754b439f440871","name":"Patch Commit","tags":["patch"]},{"name":"VulnCheck Advisory: cal.com Repository Takeover via pull_request_target Workflow","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/cal-com-repository-takeover-via-pull-request-target-workflow"}],"credits":[{"lang":"en","value":"jsoref","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"references":[{"url":"https://github.com/calcom/cal.diy/security/advisories/GHSA-p3f6-52gv-cj7m","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-24T14:36:18.577336Z","id":"CVE-2024-58354","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-24T14:36:40.997Z"}}]}}