CVE-2026-39984: CWE-295: Improper Certificate Validation in sigstore timestamp-authority
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.
AI Analysis
Technical Summary
The vulnerability in sigstore timestamp-authority versions prior to 2.0.6 involves improper certificate validation (CWE-295) in the VerifyTimestampResponse function. While the certificate chain signature is verified correctly, the TSA-specific constraint checks are applied to the first non-CA certificate in the PKCS#7 certificate bag rather than the leaf certificate from the verified chain. An attacker can exploit this by prepending a forged certificate to the certificate bag, causing the system to validate the signature against an authorized certificate but perform authorization checks against a different, potentially malicious certificate. This leads to an authorization bypass in the verification package but does not affect the timestamp-authority service itself or sigstore-go. The vulnerability is fixed in version 2.0.6.
Potential Impact
An attacker can bypass authorization checks in the verification process by exploiting the certificate validation flaw, potentially allowing unauthorized actions related to timestamp verification. There is no impact on confidentiality or availability, and the vulnerability does not affect the timestamp-authority service or sigstore-go. The CVSS score of 5.5 reflects a medium impact primarily on integrity.
Mitigation Recommendations
Upgrade to sigstore timestamp-authority version 2.0.6 or later, where this vulnerability is fixed. Since the issue affects only the verification package and not the service itself, users relying on this package should update accordingly. Patch status is confirmed fixed in version 2.0.6.
CVE-2026-39984: CWE-295: Improper Certificate Validation in sigstore timestamp-authority
Description
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.
CVSS v3.1
Score 5.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in sigstore timestamp-authority versions prior to 2.0.6 involves improper certificate validation (CWE-295) in the VerifyTimestampResponse function. While the certificate chain signature is verified correctly, the TSA-specific constraint checks are applied to the first non-CA certificate in the PKCS#7 certificate bag rather than the leaf certificate from the verified chain. An attacker can exploit this by prepending a forged certificate to the certificate bag, causing the system to validate the signature against an authorized certificate but perform authorization checks against a different, potentially malicious certificate. This leads to an authorization bypass in the verification package but does not affect the timestamp-authority service itself or sigstore-go. The vulnerability is fixed in version 2.0.6.
Potential Impact
An attacker can bypass authorization checks in the verification process by exploiting the certificate validation flaw, potentially allowing unauthorized actions related to timestamp verification. There is no impact on confidentiality or availability, and the vulnerability does not affect the timestamp-authority service or sigstore-go. The CVSS score of 5.5 reflects a medium impact primarily on integrity.
Mitigation Recommendations
Upgrade to sigstore timestamp-authority version 2.0.6 or later, where this vulnerability is fixed. Since the issue affects only the verification package and not the service itself, users relying on this package should update accordingly. Patch status is confirmed fixed in version 2.0.6.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-08T00:01:47.628Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ded57682d89c981f20b4ac
Added to database: 4/15/2026, 12:01:58 AM
Last enriched: 4/22/2026, 6:27:34 AM
Last updated: 5/30/2026, 3:40:07 AM
Views: 92
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.