Repository takeover via untrusted workflow code execution
Published Jul 23, 2026 · Updated Jul 23, 2026
Command injection in the Cal.com Cal.diy repository allows remote authenticated users to take over the repository through a crafted pull request. The pr.yml pull_request_target workflow passes a write-scoped token to check-types.yml, which checks out fork code and executes its yarn scripts. Any GitHub user able to open a pull request can run commands that push commits, merge changes, alter comments, or delete and force-push branches.
Summary
What happened
Command injection in the Cal.com Cal.diy repository allows remote authenticated users to take over the repository through a crafted pull request. The pr.yml pull_request_target workflow passes a write-scoped token to check-types.yml, which checks out fork code and executes its yarn scripts. Any GitHub user able to open a pull request can run commands that push commits, merge changes, alter comments, or delete and force-push branches.
The record
- CVE
- CVE-2024-58354
- Published
- Jul 23, 2026
- Updated
- Jul 23, 2026
- Vendor
- Cal.com, Inc.
- Product
- Cal.diy
- Classifications
- CWE-77, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 23, 2026CVE publishedPublication date reported by the CVE source.
- Jul 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-p3f6-52gv-cj7m proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo