Skip to main content
← All vulnerabilities
CVE-2026-33753GHSA-3XXC-PWJ6-JGRJPYSEC-2026-3051

Improper Certificate Validation in rfc3161-client

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

rfc3161-client is a Python library implementing the Time-Stamp Protocol (TSP) described in RFC 3161. Prior to 1.0.6, an Authorization Bypass vulnerability in rfc3161-client's signature verification allows any attacker to impersonate a trusted TimeStamping Authority (TSA). By exploiting a logic flaw in how the library extracts the leaf certificate from an unordered PKCS#7 bag of certificates, an attacker can append a spoofed certificate matching the target common_name and Extended Key Usage (EKU) requirements. This tricks the library into verifying these authorization rules against the forged certificate while validating the cryptographic signature against an actual trusted TSA (such as FreeTSA), thereby bypassing the intended TSA authorization pinning entirely. This vulnerability is fixed in 1.0.6.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • trailofbits rfc3161-client

    fixed in 1.0.6

  • rfc3161-clientPyPI

    fixed in 1.0.6

References 1

GitHub · trailofbits/rfc3161-client