CVE-2025-25204: cli
Vulnerability summary
CVE-2025-25204 is a medium (CVSS 6.3) vulnerability in cli. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 33.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 3Timeline
- 14-02-2025PublishedVulnerability first disclosed.
- 03-03-2025Last modifiedVulnerability information updated.
Description
`gh` is GitHub’s official command line tool. Starting in version 2.49.0 and prior to version 2.67.0, under certain conditions, a bug in GitHub's Artifact Attestation cli tool `gh attestation verify` causes it to return a zero exit status when no attestations are present. This behavior is incorrect: When no attestations are present, `gh attestation verify` should return a non-zero exit status code, thereby signaling verification failure. An attacker can abuse this flaw to, for example, deploy malicious artifacts in any system that uses `gh attestation verify`'s exit codes to gatekeep deployments. Users are advised to update `gh` to patched version `v2.67.0` as soon as possible.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N
- OSV · GoEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N
- NVDNIST6.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
33%
Versus all other CVEs
30-day change
0.00 pp
From 0.41% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- gh< 2.67.0-r0
Cli1 product
- cli≥ 2.49.0, < 2.67.0
Github.com/cli1 product
- cliAll versions (No fix recorded)
Github.com/cli/cli1 product
- v2≥ 2.49.0, < 2.67.0
Ubuntu1 product
- ghAll versions (No fix recorded)
Wolfi1 product
- gh< 2.67.0-r0
6 vendors · 6 products
References
8 links- github.com/cli/cliPACKAGE