CVE-2025-32958CWE-200

Adept exposed the GITHUB_TOKEN in workflow run artifact

Critical · published April 21, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
47.2
In the wild
Unconfirmed
What it is

🚨 A simple artifact upload could lead to total chaos! An unintentional leak of the GITHUB_TOKEN means attackers can run rampant in your repository before you even know what’s happening! 🔥 This flaw is like leaving your door wide open while you go grocery shopping — anyone can walk right in and take whatever they want, including your secret stash of cookies (or in this case, your precious code!). An attacker could swoop in and use the leaked GITHUB_TOKEN to push malicious code or rewrite release commits in the AdeptLanguage/Adept repository. This is absolutely devastating, as it compromises the integrity of your codebase and could lead to widespread trust issues in the community!

Put simply

This flaw is like leaving your door wide open while you go grocery shopping — anyone can walk right in and take whatever they want, including your secret stash of cookies (or in this case, your precious code!). This vulnerability arises because the remoteBuild.yml workflow inadvertently uploads a zip file containing the .git/config file with the GITHUB_TOKEN, allowing unauthorized access to the GitHub API before the workflow completes.

What to do

An attacker could swoop in and use the leaked GITHUB_TOKEN to push malicious code or rewrite release commits in the AdeptLanguage/Adept repository. This is absolutely devastating, as it compromises the integrity of your codebase and could lead to widespread trust issues in the community! Patch this immediately by updating to commit a1a41b7. Additionally, review your artifact upload processes to ensure sensitive tokens are never included in publicly accessible files. Implement tighter controls around the GitHub API access as an added precaution. You've got this! By following these steps, you'll strengthen your security and keep your project safe from sneaky intruders! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00585 · 47.2th percentile
Weakness
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
Published
2025-04-21T20:45Z
EPSS history
Timeline
  • 21 APR 20:45Z
    Adept exposed the GITHUB_TOKEN in workflow run artifact
    cvelistv5