# CVE-2022-23649: Improper Certificate Validation in Cosign

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

- **Severity:** LOW 3.3
- **CVSS:** 3.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- **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
- **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.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-295
- **Aliases:** BIT-cosign-2022-23649, GHSA-ccxc-vr6p-4858, GO-2022-0326
- **Published:** 2022-02-18T21:30:10.000Z
- **Modified:** 2026-06-17T04:30:33.760Z

## Who should check

- Projects that depend on Go package github.com/sigstore/cosign (\< 1.5.2)
- Anyone running sigstore cosign \< 1.5.2

## 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

- Go `github.com/sigstore/cosign`: affected \< 1.5.2; fixed 1.5.2 (osv)
- sigstore cosign: \< 1.5.2 (cvelist)

## Mitigation

- Upgrade github.com/sigstore/cosign to 1.5.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-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.
```

## 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.

## References

- vendor: <https://github.com/sigstore/cosign/security/advisories/GHSA-ccxc-vr6p-4858>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-23649>
- patch: <https://github.com/sigstore/cosign/commit/96d410a6580e4e81d24d112a0855c70ca3fb5b49>
- other: <https://github.com/sigstore/cosign>
- other: <https://github.com/sigstore/cosign/releases/tag/v1.5.2>

## 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-2022-23649>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-ccxc-vr6p-4858> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2022-0326> (license: <https://creativecommons.org/licenses/by/4.0/>)

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