CVE-2026-64655

GitHub CLI: Attestation Verification Bypass via Unescaped Regex Metacharacters in SAN Matching

CVE-2026-64655 is fixed in 2 products on 2 platforms, first by GitHub CLI 2.97.0, released July 31, 2026. It is not reported as exploited. Patch Radar priority: Routine.

RoutineFixed on 2 platforms
CVSS
2.1
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0034
28th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Windows apps
GitHub CLI 2.97.0 GitHub CLI 2.97.0 Jul 31, 2026
Linux
gh · opensuse-leap 16.0 2.98.0-bp160.1.1 OPENSUSE-SU-2026:21663-1 Aug 26, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.