CVE-2026-102289
zizmor: Debug logging prints available GitHub credentials in cleartext
Impact
zizmor is a static analysis tool for CI/CD systems. In version 1.27.0, debug logging serializes the parsed application configuration with a derived Debug implementation for GitHubToken, causing credentials supplied through GH_TOKEN, GITHUB_TOKEN, ZIZMOR_GITHUB_TOKEN, --gh-token, --github-token, or --zizmor-github-token to be written to stderr in cleartext. A single -v or --verbose option or an applicable RUST_LOG directive enables the affected logging during normal online operation and --no-online-audits, while explicit --offline clears the token first. If another party can read a CI log, support artifact, terminal capture, or public bug report containing the output, the party can use the credential according to its scopes, repository access, and lifetime. This vulnerability is fixed in 1.28.0.
An attacker can exploit this with local access to the system, without logging in, but a user has to actively do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | zizmor | = 1.27.0 | 1.28.0 |
Affected products · Zizmorcore
| Product | Affected versions |
|---|---|
| Zizmor | Version = 1.27.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/zizmorcore/zizmor/security/advisories/GHSA-f42p-wjw5-97qh
- https://github.com/zizmorcore/zizmor/pull/2213
- https://github.com/zizmorcore/zizmor/pull/2215
- https://github.com/zizmorcore/zizmor/commit/0731e01706af273be860d3d221e4d122e6741b6f
- https://github.com/zizmorcore/zizmor/commit/724d0e86f4c073c3dc64507fb6c39bc20e46a48f
- https://github.com/zizmorcore/zizmor/releases/tag/v1.28.0
- https://github.com/advisories/GHSA-f42p-wjw5-97qh