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

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-08T14:54:59.704Z
- Modified: 2026-07-24T23:10:00.563Z
- Also known as: GHSA-3xxc-pwj6-jgrj, PYSEC-2026-3051
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- trailofbits rfc3161-client: < 1.0.6; before 1.0.6
- rfc3161-client (PyPI): before 1.0.6

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

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

## Sources

- CVE List: [CVE-2026-33753](https://www.cve.org/CVERecord?id=CVE-2026-33753), CVE Terms of Use, modified 2026-04-08
- GitHub Advisory Database: [GHSA-3xxc-pwj6-jgrj](https://github.com/advisories/GHSA-3xxc-pwj6-jgrj), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-33753](https://nvd.nist.gov/vuln/detail/CVE-2026-33753), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-3051](https://osv.dev/vulnerability/PYSEC-2026-3051), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-33753 · Whole record: https://cve.day/CVE-2026-33753.json · Rebuilt by cve.day 2026-11-25T22:59:18.285Z
