CVE-2025-32958 Adept exposed the GITHUB_TOKEN in workflow run artifact
Attackers can extract the GITHUB_TOKEN from build artifacts to push malicious code or rewrite releases in the Adept repository.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-32958?
CVE-2025-32958 is a critical vulnerability in AdeptLanguage Adept, published on 21 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Adept is a language for general purpose programming. Prior to commit a1a41b7, the remoteBuild.yml workflow file uses actions/upload-artifact@v4 to upload the mac-standalone artifact. This artifact is a zip of the current directory, which includes the automatically generated .git/config file containing the run's GITHUB_TOKEN. Seeing as the artifact can be downloaded prior to the end of the workflow, there is a few seconds where an attacker can extract the token from the artifact and use it with the Github API to push malicious code or rewrite release commits in the AdeptLanguage/Adept repository. This issue has been patched in commit a1a41b7.
Weakness: CWE-200
Which versions are affected by CVE-2025-32958?
How do I fix CVE-2025-32958?
No fix has been published for CVE-2025-32958 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-32958 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-32958 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-8c7v-vccv-cx4q.