cve.bz

CVE-2026-64655 cli cli: Incorrect Regular Expression

2.1 lowEPSS 0.3%Fix available

Low (2.1) in cli cli. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/cli/cli/v2 2.97.0.

On this page
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.

Severity

CVSS 4.0

2.1 low
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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-08-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-185 Incorrect Regular Expression
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-64655 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-64655?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-64655?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-64655 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cli< 2.97.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mm27-mwq9-fr5gGogithub.com/cli/cli/v2<2.97.02.97.0
GO-2026-6767Gogithub.com/cli/cliall versionsno fix published
GO-2026-6767Gogithub.com/cli/cli/v2<2.97.02.97.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13ghno fix listedDEBIAN-CVE-2026-64655
Ubuntu22.04:LTS, 26.10, Pro:24.04:LTS and 1 moreghno fix listedUBUNTU-CVE-2026-64655
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20261105T234957-160000.1.1SUSE-SU-2026:24730-1
openSUSELeap 16.0gh2.98.0-bp160.1.1openSUSE-SU-2026:21663-1
openSUSELeap 16.0govulncheck-vulndb0.0.20261105T234957-160000.1.1openSUSE-SU-2026:22336-1
openSUSETumbleweedgh2.97.0-1.1openSUSE-SU-2026:11530-1
Azure Linux3gh2.97.0-1AZL-95472

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON