2.1

CVE-2026-64655: GitHub CLI: Attestation Verification Bypass via Unescaped Regex Metacharacters in SAN Matching

Awaiting analysis
AliasesUBUNTU-CVE-2026-64655DEBIAN-CVE-2026-64655GHSA-mm27-mwq9-fr5g
Published 06-08-2026Last modified 08-08-2026

Vulnerability summary

CVE-2026-64655 is a low (CVSS 2.1) Incorrect Regular Expression vulnerability in cli. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 28.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.1/10
010
Low · v4.0 (CVE.org)
EPSS score
0.33%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 06-08-2026
    PublishedVulnerability first disclosed.
  2. 08-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 0.34% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Cli1 product
Debian1 product
  • ghAll versions (No fix recorded)
Github.com/cli1 product
  • cliAll versions (No fix recorded)
Github.com/cli/cli1 product
  • v2< 2.97.0
Ubuntu1 product
  • ghAll versions (No fix recorded)

5 vendors · 5 products

References

8 links