# CVE-2026-22703: Cosign verification accepts any valid Rekor entry under certain conditions

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.10% (percentile 0, 2026-11-26)
- **CWE:** CWE-345
- **Aliases:** BIT-cosign-2026-22703, GHSA-whqx-f9j3-ch6m, GO-2026-4309
- **Published:** 2026-01-10T06:11:09.426Z
- **Modified:** 2026-09-10T03:50:33.665Z

## Who should check

- Projects that depend on Go package github.com/sigstore/cosign/v3 (\< 3.0.4)
- Projects that depend on Go package github.com/sigstore/cosign/v2 (\< 2.6.2)
- Projects that depend on Go package github.com/sigstore/cosign
- Anyone running sigstore cosign \< 3.0.4; \< 2.6.2

## Description

Cosign provides code signing and transparency for containers and binaries. Prior to versions 2.6.2 and 3.0.4, Cosign bundle can be crafted to successfully verify an artifact even if the embedded Rekor entry does not reference the artifact's digest, signature or public key. When verifying a Rekor entry, Cosign verifies the Rekor entry signature, and also compares the artifact's digest, the user's public key from either a Fulcio certificate or provided by the user, and the artifact signature to the Rekor entry contents. Without these comparisons, Cosign would accept any response from Rekor as valid. A malicious actor that has compromised a user's identity or signing key could construct a valid Cosign bundle by including any arbitrary Rekor entry, thus preventing the user from being able to audit the signing event. This issue has been patched in versions 2.6.2 and 3.0.4.

## Affected and fixed versions

- Go `github.com/sigstore/cosign/v3`: affected \< 3.0.4; fixed 3.0.4 (osv)
- Go `github.com/sigstore/cosign/v2`: affected \< 2.6.2; fixed 2.6.2 (osv)
- Go `github.com/sigstore/cosign`: affected see advisory; fixed no fix listed yet (osv)
- sigstore cosign: \< 3.0.4; \< 2.6.2 (cvelist)

## Mitigation

- Upgrade github.com/sigstore/cosign/v3 to 3.0.4 or later.
- Upgrade github.com/sigstore/cosign/v2 to 2.6.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-22703. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-22703.md
Affected: github.com/sigstore/cosign/v3 < 3.0.4; github.com/sigstore/cosign/v2 < 2.6.2; github.com/sigstore/cosign
Fixed in: 3.0.4, 2.6.2

Steps:
1. Search this machine and project for github.com/sigstore/cosign/v3 (Go), github.com/sigstore/cosign/v2 (Go), github.com/sigstore/cosign (Go), sigstore cosign: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-22703 being exploited?

There is no confirmed exploitation: CVE-2026-22703 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.10% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-22703?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-22703?

github.com/sigstore/cosign/v3 \< 3.0.4; github.com/sigstore/cosign/v2 \< 2.6.2; github.com/sigstore/cosign.

### Is there a fix for CVE-2026-22703?

Yes. Fixed in 3.0.4, 2.6.2. Upgrade github.com/sigstore/cosign/v3 to 3.0.4 or later. Upgrade github.com/sigstore/cosign/v2 to 2.6.2 or later.

### How do I check if I'm affected by CVE-2026-22703?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/sigstore/cosign/security/advisories/GHSA-whqx-f9j3-ch6m>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-22703>
- patch: <https://github.com/sigstore/cosign/pull/4623>
- patch: <https://github.com/sigstore/cosign/commit/6832fba4928c1ad69400235bbc41212de5006176>
- other: <https://github.com/sigstore/cosign>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-22703>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-whqx-f9j3-ch6m> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4309> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-22703> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-22703>
