CVE-2025-32953 z80pack Vulnerable to Exposure of the GITHUB_TOKEN in Workflow Run Artifact
Attackers can extract GitHub tokens from build artifacts to push malicious code or rewrite repository history in the z80pack emulator project.
- 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-32953?
CVE-2025-32953 is a high-severity vulnerability in udo-munk z80pack, published on 18 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
z80pack is a mature emulator of multiple platforms with 8080 and Z80 CPU. In version 1.38 and prior, the `makefile-ubuntu.yml` workflow file uses `actions/upload-artifact@v4` to upload the `z80pack-ubuntu` 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 your repository. This issue has been fixed in commit bd95916.
Weakness: CWE-200
Which versions are affected by CVE-2025-32953?
How do I fix CVE-2025-32953?
No fix has been published for CVE-2025-32953 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-32953 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-32953 exists.
Sources
Also known as GHSA-gpjj-f76m-9x3q.