Debug Artifacts Vulnerability in GitHub CodeQL Action
CVE-2025-24362
Key Information:
- Vendor
Github
- Status
- CVE ID
- CVE ID:
- CVE-2025-24362
- Vendor
- CVE Published:
- 24 January 2025
- Fixed in
- Fixed in:
- 2.26.11, 3
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Several version ranges are affected; the full list is under Affected Version(s).
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach codeql-action. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (7.1).
What is CVE-2025-24362?
A vulnerability exists in GitHub's CodeQL Action where debug artifacts may inadvertently expose environment variables, including sensitive secrets such as the GITHUB_TOKEN. This token grants extensive access to repositories, and under certain conditions—specifically with Java/Kotlin scanning workflows and debug mode enabled—these secrets can be accessed by users who have read access to the repository. This issue arises during failed workflow runs occurring in specific GitHub environments. It is recommended to upgrade to CodeQL Action version 3.28.3 or later, or CodeQL CLI version 2.20.3 or later to mitigate the risk of secret leakage.
Affected Version(s)
codeql-action >= 3.26.11, <= 3.28.2 <= 3.26.11, 3.28.2
codeql-action >= 2.26.11, < 3 < 2.26.11, 3
References
More Github Vulnerabilities
Improper Neutralization Vulnerability in GitHub Enterprise Server
Remote Code Execution Vulnerability in GitHub Enterprise Server
Cryptographic Signature Spoofing Vulnerability in GitHub Enterprise Server
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction