CVE-2026-64655 Details
Description
GitHub CLI (gh) is GitHub’s official command line tool. Prior to 2.97.0, gh attestation verify builds the certificate Subject Alternative Name matcher from the --signer-repo and --signer-workflow flag values without escaping regex metacharacters, so a user-supplied repository or workflow name is treated as a regular expression rather than a literal string. Because GitHub permits characters such as `.` in organization, repository, and workflow path names and `.` is a regex wildcard, an attacker can register a lookalike name (for example github/artifact.attestations-workflows) that satisfies a matcher intended for a different trusted signer (github/artifact-attestations-workflows), bypassing the intended Sigstore attestation verification. Exploitation requires the attacker to create a plausible lookalike repository and produce valid attestations from it, which could undermine supply chain verification for CI/CD pipelines or policy gates that pin trust to a specific signing workflow. This issue is fixed in version 2.97.0.
A vulnerability in GitHub CLI (gh) versions prior to 2.97.0 allows for an attestation verification bypass. The issue arises in the 'gh attestation verify' command, where the '--signer-repo' and '--signer-workflow' flag values are not properly escaped. This oversight enables an attacker to manipulate the verification process by using lookalike repository or workflow names that exploit regex metacharacter interpretation. As a result, the vulnerability could undermine supply chain verification in CI/CD pipelines or policy gates that rely on these flags for trust validation.
Users can upgrade GitHub CLI to version 2.97.0 or later, which addresses the vulnerability by escaping signer values before they are matched. As an alternative, the '--repo' or '--owner' flags can be used instead of '--signer-repo' or '--signer-workflow' where applicable.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-185 | Incorrect Regular Expression | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 8, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | [email protected] |