Detection of Error Condition Without Action in GitHub CLI - CVE-2025-25204

 

Detection of Error Condition Without Action in GitHub CLI - CVE-2025-25204

Published: February 14, 2025 / Updated: May 18, 2026


Vulnerability identifier: #VU131749
CSH Severity: Low
CVSS v4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-25204
CWE-ID: CWE-390
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to incorrectly verify an attestation.

The vulnerability exists due to detection of error condition without action in the gh attestation verify command when processing attestations for a specified predicate type. A remote user can supply an artifact and predicate type combination with no matching attestation to incorrectly verify an attestation.

This issue occurs when an artifact contains an attestation with a different predicate type, causing the command to print a verification failure while still exiting with status code 0.


Affected software

GitHub CLI
Fedora
gh

How to mitigate CVE-2025-25204

Install security update from vendor's website.

GitHub CLI - update to 2.67.0
gh - update to 2.72.0-1.fc43

External References

Related Security Bulletins