CVE-2022-23649
Improper Certificate Validation in Cosign
Also known as BIT-cosign-2022-23649, GHSA-ccxc-vr6p-4858, GO-2022-0326
Mitigation
- Upgrade github.com/sigstore/cosign to 1.5.2 or later.
Who should check
- Projects that depend on Go package github.com/sigstore/cosign (< 1.5.2)
- Anyone running sigstore cosign < 1.5.2
Vulnerability facts
- Affected
- github.com/sigstore/cosign < 1.5.2
- Fixed in
- 1.5.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 3.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-295
- Modified
Description
Cosign provides container signing, verification, and storage in an OCI registry for the sigstore project. Prior to version 1.5.2, Cosign can be manipulated to claim that an entry for a signature exists in the Rekor transparency log even if it doesn't. This requires the attacker to have pull and push permissions for the signature in OCI. This can happen with both standard signing with a keypair and "keyless signing" with Fulcio. If an attacker has access to the signature in OCI, they can manipulate cosign into believing the entry was stored in Rekor even though it wasn't. The vulnerability has been patched in v1.5.2 of Cosign. The `signature` in the `signedEntryTimestamp` provided by Rekor is now compared to the `signature` that is being verified. If these don't match, then an error is returned. If a valid bundle is copied to a different signature, verification should fail. Cosign output now only informs the user that certificates were verified if a certificate was in fact verified. There is currently no known workaround.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/sigstore/cosign | < 1.5.2 | 1.5.2 | osv |
| sigstore cosign | < 1.5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-23649. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-23649.md Affected: github.com/sigstore/cosign < 1.5.2 Fixed in: 1.5.2 Steps: 1. Search this machine and project for 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.
References
Vendor advisories
FAQ
Is CVE-2022-23649 being exploited?
There is no confirmed exploitation: CVE-2022-23649 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-23649?
Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-23649?
github.com/sigstore/cosign < 1.5.2.
Is there a fix for CVE-2022-23649?
Yes. Fixed in 1.5.2. Upgrade github.com/sigstore/cosign to 1.5.2 or later.
How do I check if I'm affected by CVE-2022-23649?
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.