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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.2
- **CVSS:** 6.2 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **CWE:** CWE-295
- **Aliases:** GHSA-3xxc-pwj6-jgrj, PYSEC-2026-3051
- **Published:** 2026-04-08T14:54:59.704Z
- **Modified:** 2026-07-24T23:10:00.563Z

## Who should check

- Projects that depend on PyPI package rfc3161-client (\< 1.0.6)
- Anyone running trailofbits rfc3161-client \< 1.0.6

## 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.

## Affected and fixed versions

- PyPI `rfc3161-client`: affected \< 1.0.6; fixed 1.0.6 (osv)
- trailofbits rfc3161-client: \< 1.0.6 (cvelist)

## Mitigation

- Upgrade rfc3161-client to 1.0.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-33753. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-33753.md
Affected: rfc3161-client < 1.0.6
Fixed in: 1.0.6

Steps:
1. Search this machine and project for rfc3161-client (PyPI), trailofbits rfc3161-client: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-33753 being exploited?

There is no confirmed exploitation: CVE-2026-33753 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-33753?

Medium: CVSS 6.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-33753?

rfc3161-client \< 1.0.6.

### Is there a fix for CVE-2026-33753?

Yes. Fixed in 1.0.6. Upgrade rfc3161-client to 1.0.6 or later.

### How do I check if I'm affected by CVE-2026-33753?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/trailofbits/rfc3161-client/security/advisories/GHSA-3xxc-pwj6-jgrj>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-33753>
- vendor: <https://github.com/advisories/GHSA-3xxc-pwj6-jgrj>
- patch: <https://github.com/trailofbits/rfc3161-client/commit/4f7d372297b4fba7b0119e9f954e4495ec0592c0>
- other: <https://github.com/trailofbits/rfc3161-client>
- other: <https://github.com/trailofbits/rfc3161-client/releases/tag/v1.0.6>
- other: <https://pypi.org/project/rfc3161-client>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-33753>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3xxc-pwj6-jgrj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3051> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-33753> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-33753>
