Vulnerability · Published Aug 14, 2026 · Assigned by GitHub_M
CVE-2026-46380compliance-trestle Vulnerable to SSRF in Remote Fetching Subsystem
Medium 6.7
In plain English
A medium-severity server-side request forgery in compliance-trestle from oscal-compass. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
compliance-trestle is a tooling platform for managing compliance as code. Prior to versions 3.12.2 and 4.0.3, the HTTPSFetcher._do_fetch() method passes a user-supplied URL directly to requests.get() without validation. This allows an attacker to perform Server-Side Request Forgery, targeting internal services or cloud metadata endpoints. Versions 3.12.2 and 4.0.3 fix the issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | compliance-trestle | 4.0.3 | GHSA-w76h-q7c6-jpjp |
| PyPI | compliance-trestle | 3.12.2 | GHSA-w76h-q7c6-jpjp |
| PyPI | compliance-trestle | 3.12.2, 4.0.3 | PYSEC-2026-2427 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| oscal-compass | compliance-trestle | >= 4.0.0, < 4.0.3< 3.12.2 |
Weakness: CWE-918 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-w76h-q7c6-jpjp x_refsource_CONFIRM
- https://github.com/oscal-compass/compliance-trestle/commit/53de5e75332888ea54f5da41d4c7859bb1d608e1 x_refsource_MISC
- https://github.com/oscal-compass/compliance-trestle/commit/5c65c5926fe7ca908b9c1d281f904e7d97ba8310 x_refsource_MISC
- https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2427.yaml x_refsource_MISC