{"id":"CVE-2026-64655","published":"2026-08-06T18:41:54Z","modified":"2026-08-08T02:23:17Z","title":"GitHub CLI: Attestation Verification Bypass via Unescaped Regex Metacharacters in SAN Matching","vendor":"cli","product":"cli","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00343,"percentile":0.286,"provenance":"source"},"cwes":[{"id":"CWE-185","name":"Incorrect Regular Expression"}],"references":[{"url":"https://github.com/cli/cli/security/advisories/GHSA-mm27-mwq9-fr5g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cli/cli/commit/55dbb4dc6b7edb10b48e3d7fc5bccd32318d1b55","tags":["x_refsource_MISC"]},{"url":"https://github.com/cli/cli/releases/tag/v2.97.0","tags":["x_refsource_MISC"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":5.72},{"name":"CVSS severity","points":1.47}]},"vendorSlug":"cli","affectedVersions":[{"vendor":"cli","product":"cli","versions":["< 2.97.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-08T02:23:02.313002Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/cli/cli/v2","vulnerableRanges":["<2.97.0"],"patched":["2.97.0"],"from":["GHSA-mm27-mwq9-fr5g","GO-2026-6767"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/cli/cli","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6767"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-54222","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-48501","published":"2026-05-29","fixed":"2.93.0","kev":false,"link":{"from":"CVE-2026-48501","to":"CVE-2026-64655","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/cli/cli/v2","fromFixed":"2.93.0","toFixed":"2.97.0","daysApart":69}]}},{"cve":"CVE-2026-64652","published":"2026-08-06","fixed":"2.97.0","kev":false},{"cve":"CVE-2026-64653","published":"2026-08-06","fixed":"2.97.0","kev":false},{"cve":"CVE-2026-64655","published":"2026-08-06","fixed":"2.97.0","kev":false}],"package":"Go:github.com/cli/cli/v2"}}