{"cve":"CVE-2025-25204","nvd":{"published":"2025-02-14T17:15:19.140","modified":"2026-06-17T09:00:28.767","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N","score":6.3},"cwes":["CWE-390"],"references":["https://github.com/cli/cli/issues/10418","https://github.com/cli/cli/pull/10421","https://github.com/cli/cli/security/advisories/GHSA-fgw4-v983-mgp8"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:59:18.731010617+00:00"},"epss":{"cve":"CVE-2025-25204","score":0.00406,"percentile":0.34924,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fgw4-v983-mgp8","url":"https://osv.dev/vulnerability/GHSA-fgw4-v983-mgp8","summary":"`gh attestation verify` returns incorrect exit code during verification if no attestations are present","modified":"2026-09-10T03:50:22.712855427Z","packages":[{"ecosystem":"Go","name":"github.com/cli/cli/v2","purl":"pkg:golang/github.com/cli/cli/v2","ranges":[">=2.49.0 <2.67.0"],"fixed":["2.67.0"]}]},{"id":"GO-2025-3467","url":"https://osv.dev/vulnerability/GO-2025-3467","summary":"`gh attestation verify` returns incorrect exit code during verification if no attestations are present in github.com/cli/cli","modified":"2026-02-04T03:05:41.198441Z","packages":[{"ecosystem":"Go","name":"github.com/cli/cli","purl":"pkg:golang/github.com/cli/cli","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/cli/cli/v2","purl":"pkg:golang/github.com/cli/cli/v2","ranges":[">=2.49.0 <2.67.0"],"fixed":["2.67.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}