Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cli/cli/v2
  4. ›
  5. CVE-2026-64655

CVE-2026-64655: GitHub CLI allows attestation verification bypass through unescaped regex metacharacters

October 15, 2026

A security vulnerability has been identified in GitHub CLI that could allow attestation verification bypass when using gh attestation verify with --signer-repo or --signer-workflow flags. GitHub CLI builds the certificate matcher from these flag values without escaping regex metacharacters, so a repository or workflow name is treated as a regular expression rather than a literal string. GitHub permits characters such as  .  in organization, repository, and workflow path names, and  .  is a regex wildcard, so a malicious actor can create a lookalike name that satisfies a matcher intended for a different, trusted signer.

References

  • github.com/advisories/GHSA-mm27-mwq9-fr5g
  • github.com/cli/cli/commit/55dbb4dc6b7edb10b48e3d7fc5bccd32318d1b55
  • github.com/cli/cli/releases/tag/v2.97.0
  • github.com/cli/cli/security/advisories/GHSA-mm27-mwq9-fr5g
  • nvd.nist.gov/vuln/detail/CVE-2026-64655

Code Behaviors & Features

Detect and mitigate CVE-2026-64655 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.97.0

Fixed versions

  • 2.97.0

Solution

Upgrade to version 2.97.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-185: Incorrect Regular Expression

Source file

go/github.com/cli/cli/v2/CVE-2026-64655.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 13 Nov 2026 12:16:21 +0000.