CVE-2025-32953
JSON

8.7high

z80pack Vulnerable to Exposure of the GITHUB_TOKEN in Workflow Run Artifact

Severity
8.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
udo-munk z80pack< bd95916CVE List

Classification

CWE-200

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

z80pack es un emulador maduro para múltiples plataformas con CPU 8080 y Z80. En la versión 1.38 y anteriores, el archivo de flujo de trabajo `makefile-ubuntu.yml` usa `actions/upload-artifact@v4` para cargar el artefacto `z80pack-ubuntu`. Este artefacto es un archivo zip del directorio actual, que incluye el archivo `.git/config` generado automáticamente con el GITHUB_TOKEN de la ejecución. Dado que el artefacto se puede descargar antes de finalizar el flujo de trabajo, hay unos segundos en los que un atacante puede extraer el token del artefacto y usarlo con la API de Github para enviar código malicioso o reescribir las confirmaciones de lanzamiento en el repositorio. Este problema se ha corregido en el commit bd95916.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-32953 changed 2025-04-21CVE Terms of Use
NVDCVE-2025-32953 changed 2026-06-17Public domain