{"id":"CVE-2026-39984","published":"2026-04-14T23:41:47Z","modified":"2026-04-16T14:00:55Z","title":"Sigstore Timestamp Authority has Improper Certificate Validation in verifier","vendor":"sigstore","product":"timestamp-authority","tier":"tail","description":{"text":"Sigstore Timestamp Authority is a service for issuing RFC 3161 timestamps. Versions 2.0.5 and below contain an authorization bypass vulnerability in the VerifyTimestampResponse function. VerifyTimestampResponse correctly verifies the certificate chain signature, but the TSA-specific constraint checks in VerifyLeafCert uses the first non-CA certificate from the PKCS#7 certificate bag instead of the leaf certificate from the verified chain. An attacker can exploit this by prepending a forged certificate to the certificate bag while the message is signed with an authorized key, causing the library to validate the signature against one certificate but perform authorization checks against another. This vulnerability only affects users of the timestamp-authority/v2/pkg/verification package and does not affect the timestamp-authority service itself or sigstore-go. The issue has been fixed in version 2.0.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00113,"percentile":0.00506,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://github.com/sigstore/timestamp-authority/security/advisories/GHSA-xm5m-wgh2-rrg3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sigstore/timestamp-authority/releases/tag/v2.0.6","tags":["x_refsource_MISC"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":0.1},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"sigstore","affectedVersions":[{"vendor":"sigstore","product":"timestamp-authority","versions":["< 2.0.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-16T14:00:42.548200Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/sigstore/timestamp-authority/v2","vulnerableRanges":["<2.0.6"],"patched":["2.0.6"],"from":["GHSA-xm5m-wgh2-rrg3","GO-2026-5763"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/sigstore/timestamp-authority","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5763"],"provenance":"source"}],"summary":{"text":"Sigstore Timestamp Authority's verification package (timestamp-authority/v2/pkg/verification) incorrectly performs its TSA-specific certificate constraint checks in VerifyLeafCert, using the first non-CA certificate from the PKCS#7 certificate bag rather than the leaf certificate from the verified chain. An attacker who can get a user to process a crafted timestamp response, with a forged certificate prepended to the bag and the message signed by an authorized key, can cause the library to validate the signature against one certificate while applying authorization checks to another.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:44Z"},"euvd":{"id":"EUVD-2026-22813","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-66564","published":"2025-12-04","fixed":"2.0.3","kev":false,"link":{"from":"CVE-2025-66564","to":"CVE-2026-39984","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/sigstore/timestamp-authority/v2","fromFixed":"2.0.3","toFixed":"2.0.6","daysApart":131}]}},{"cve":"CVE-2026-39984","published":"2026-04-14","fixed":"2.0.6","kev":false},{"cve":"CVE-2026-49835","published":"2026-07-17","fixed":"2.1.0","kev":false,"link":{"from":"CVE-2026-39984","to":"CVE-2026-49835","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/sigstore/timestamp-authority/v2","fromFixed":"2.0.6","toFixed":"2.1.0","daysApart":94}]}}],"package":"Go:github.com/sigstore/timestamp-authority/v2"}}