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.0: 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/E:U/U:Clear
CVE-ID: CVE-2025-25204
CWE-ID: CWE-390
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GitHub CLI
Affected software:
GitHub CLI

Detailed vulnerability description

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.


How to mitigate CVE-2025-25204

Install security update from vendor's website.

Sources