CVE-2026-64655
published low CVSS 4.0 · 2.1GitHub CLI: Attestation Verification Bypass via Unescaped Regex Metacharacters in SAN Matching
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cli | — | cli< 2.97.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghaarch64 | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghppc64le | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghs390x | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghx86_64 | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-bash-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-fish-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-zsh-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ghaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghs390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cli | cli | < 2.97.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-185 CWE-185: Incorrect Regular Expression
References
3Provider assertions
2GitHub_M · cna
GitHub CLI: Attestation Verification Bypass via Unescaped Regex Metacharacters in SAN Matching
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9bf2c7cf79f92bacc5a0e14e7c5214ce857053f52443d1ffc136b0ed6d1500a2
- Ingested
- 23 Sep 2026, 09:26:10 UTC
- Source record
- Official CVE record