Detection of Error Condition Without Action in GitHub CLI - CVE-2025-25204
Published: February 14, 2025 / Updated: May 18, 2026
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.