Skip to content

CVE-2026-33753 Improper Certificate Validation in rfc3161-client

HighCVSS 7.5 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Red Hat

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi rfc3161-client(PyPI) < 1.0.6; <= 1.0.5; = 0.0.2; = 0.0.3 +10 more 1.0.6 Fixed
trailofbits rfc3161-client < 1.0.6; = < 1.0.6 1.0.6 Fixed

Affected products

ProductAffected versionsFixed in
pypi rfc3161-client(PyPI) < 1.0.6 1.0.6
pypi rfc3161-client(PyPI) = 0.0.2 No fix listed
pypi rfc3161-client(PyPI) = 0.0.3 No fix listed
pypi rfc3161-client(PyPI) = 0.0.4 No fix listed
pypi rfc3161-client(PyPI) = 0.1.0 No fix listed
pypi rfc3161-client(PyPI) = 0.1.1 No fix listed
pypi rfc3161-client(PyPI) = 0.1.2 No fix listed
pypi rfc3161-client(PyPI) = 1.0.0 No fix listed
pypi rfc3161-client(PyPI) = 1.0.1 No fix listed
pypi rfc3161-client(PyPI) = 1.0.2 No fix listed
pypi rfc3161-client(PyPI) = 1.0.3 No fix listed
pypi rfc3161-client(PyPI) = 1.0.4 No fix listed
pypi rfc3161-client(PyPI) = 1.0.5 No fix listed
trailofbits rfc3161-client = < 1.0.6 No fix listed
pypi rfc3161-client(PyPI) <= 1.0.5 No fix listed
redhat/securesign/model-transparency(Red Hat:trusted_artifact_signer:1) All versions No fix listed
trailofbits rfc3161-client < 1.0.6 1.0.6

References