CVE-2026-33753: CWE-295: Improper Certificate Validation in trailofbits rfc3161-client
CVE-2026-33753 is an authorization bypass vulnerability in the rfc3161-client Python library prior to version 1. 0. 6. The flaw arises from improper certificate validation during signature verification, allowing an attacker to impersonate a trusted Time-Stamping Authority (TSA). This is achieved by exploiting a logic error in extracting the leaf certificate from an unordered PKCS#7 certificate bag, enabling the attacker to append a spoofed certificate that meets the required common_name and Extended Key Usage (EKU) criteria. The library then incorrectly validates authorization rules against the forged certificate while verifying the cryptographic signature against a legitimate TSA certificate, bypassing TSA authorization pinning. The vulnerability has a CVSS 3. 1 score of 6. 2 (medium severity) and is fixed in version 1. 0.
AI Analysis
Technical Summary
The rfc3161-client Python library implements the Time-Stamp Protocol (TSP) as per RFC 3161. Versions prior to 1.0.6 contain a CWE-295 improper certificate validation vulnerability that allows an attacker to bypass authorization checks during signature verification. The vulnerability stems from a logic flaw in how the library extracts the leaf certificate from an unordered PKCS#7 certificate bag, permitting an attacker to insert a spoofed certificate with matching common_name and EKU attributes. This spoofed certificate passes authorization checks, while the cryptographic signature is validated against a genuine trusted TSA certificate, effectively bypassing TSA authorization pinning. This flaw enables impersonation of a trusted TSA, potentially undermining the trustworthiness of time-stamps generated using the library. The issue is resolved in version 1.0.6.
Potential Impact
An attacker exploiting this vulnerability can impersonate a trusted Time-Stamping Authority by bypassing authorization checks in the rfc3161-client library. This could lead to acceptance of forged time-stamps, undermining the integrity and trust of time-stamping operations relying on this library. There is no reported impact on confidentiality or availability. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade rfc3161-client to version 1.0.6 or later, where this vulnerability is fixed. Patch status is not explicitly stated beyond this version update, so users should verify they are running 1.0.6 or newer. No other mitigations are indicated by the vendor advisory.
CVE-2026-33753: CWE-295: Improper Certificate Validation in trailofbits rfc3161-client
Description
CVE-2026-33753 is an authorization bypass vulnerability in the rfc3161-client Python library prior to version 1. 0. 6. The flaw arises from improper certificate validation during signature verification, allowing an attacker to impersonate a trusted Time-Stamping Authority (TSA). This is achieved by exploiting a logic error in extracting the leaf certificate from an unordered PKCS#7 certificate bag, enabling the attacker to append a spoofed certificate that meets the required common_name and Extended Key Usage (EKU) criteria. The library then incorrectly validates authorization rules against the forged certificate while verifying the cryptographic signature against a legitimate TSA certificate, bypassing TSA authorization pinning. The vulnerability has a CVSS 3. 1 score of 6. 2 (medium severity) and is fixed in version 1. 0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The rfc3161-client Python library implements the Time-Stamp Protocol (TSP) as per RFC 3161. Versions prior to 1.0.6 contain a CWE-295 improper certificate validation vulnerability that allows an attacker to bypass authorization checks during signature verification. The vulnerability stems from a logic flaw in how the library extracts the leaf certificate from an unordered PKCS#7 certificate bag, permitting an attacker to insert a spoofed certificate with matching common_name and EKU attributes. This spoofed certificate passes authorization checks, while the cryptographic signature is validated against a genuine trusted TSA certificate, effectively bypassing TSA authorization pinning. This flaw enables impersonation of a trusted TSA, potentially undermining the trustworthiness of time-stamps generated using the library. The issue is resolved in version 1.0.6.
Potential Impact
An attacker exploiting this vulnerability can impersonate a trusted Time-Stamping Authority by bypassing authorization checks in the rfc3161-client library. This could lead to acceptance of forged time-stamps, undermining the integrity and trust of time-stamping operations relying on this library. There is no reported impact on confidentiality or availability. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade rfc3161-client to version 1.0.6 or later, where this vulnerability is fixed. Patch status is not explicitly stated beyond this version update, so users should verify they are running 1.0.6 or newer. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-23T18:30:14.125Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d672521cc7ad14da85d64f
Added to database: 4/8/2026, 3:20:50 PM
Last enriched: 4/15/2026, 3:52:45 PM
Last updated: 5/23/2026, 10:52:42 AM
Views: 99
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.
External Links
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.