Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 56%

CVE-2024-58354: Improper Neutralization of Special Elements used in a Command ('Command Injection') in calcom cal.diy

0
High
VulnerabilityCVE-2024-58354cvecve-2024-58354
Published: 07/23/2026 (07/23/2026, 21:16:43 UTC)
Source: CVE Database V5
Vendor/Project: calcom
Product: cal.diy

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.

CVSS v4.0

Score 8.5high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
Low
Subsq. Integrity
High
Subsq. Availability
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 22:46:07 UTC

Technical Analysis

The vulnerability in cal.com (cal.diy) arises from the use of the pull_request_target trigger in GitHub Actions workflows with default write permissions. The pr.yml workflow passes these permissions to check-types.yml, which uses the dangerous-git-checkout action to check out attacker-controlled pull request code and executes it via yarn install and package.json scripts. This allows an attacker to run arbitrary commands with the repository's write-scoped GITHUB_TOKEN, leading to repository takeover capabilities such as pushing commits, merging or mutating pull requests, commenting, and branch deletion or force-push. The main branch is affected, and no official fix or patch has been released.

Potential Impact

An attacker who submits a malicious pull request can execute arbitrary commands within the GitHub Actions environment with write permissions to the repository. This enables them to push unauthorized commits, merge or alter pull requests, add or delete comments, and delete or force-push branches, effectively compromising the integrity and control of the repository.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, repository maintainers should avoid using pull_request_target triggers with write permissions that execute untrusted code. Restrict GitHub Actions workflows to use least privilege tokens and avoid executing code from untrusted pull requests. Consider disabling or modifying the affected workflows to prevent execution of attacker-controlled code.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-08T15:20:35.497Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6289ae9c2644c7f8c05b98

Added to database: 07/23/2026, 21:37:50 UTC

Last enriched: 07/30/2026, 22:46:07 UTC

Last updated: 09/06/2026, 12:20:12 UTC

Views: 97

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses