compliance-trestle Vulnerable to SSRF in Remote Fetching Subsystem
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| oscal-compass | compliance-trestle | 4.0.0 to before 4.0.3; before 3.12.2 | 4.0.3, 3.12.2 | Patch available | CNA |
| — | compliance-trestle (PyPI) | 4.0.0 to before 4.0.3 | 4.0.3 | Patch available | GHSA-w76h-q7c6-jpjp |
| — | compliance-trestle (PyPI) | before 3.12.2 | 3.12.2 | Patch available | GHSA-w76h-q7c6-jpjp |
- compliance-trestle Vendoroscal-compass Affected 4.0.0 to before 4.0.3; before 3.12.2 Fixed in 4.0.3, 3.12.2 Patch available CNA
- compliance-trestle (PyPI) Vendor— Affected 4.0.0 to before 4.0.3 Fixed in 4.0.3 Patch available GHSA-w76h-q7c6-jpjp
- compliance-trestle (PyPI) Vendor— Affected before 3.12.2 Fixed in 3.12.2 Patch available GHSA-w76h-q7c6-jpjp
Remediation
- Fix · CNA compliance-trestle (oscal-compass) Fixed in 4.0.3, 3.12.2
- Fix · GHSA-w76h-q7c6-jpjp compliance-trestle (PyPI) Fixed in 4.0.3 Advisory →
- Fix · GHSA-w76h-q7c6-jpjp compliance-trestle (PyPI) Fixed in 3.12.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| File Integrity Operator | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46380
- 2026-10-03 Alias added: GHSA-w76h-q7c6-jpjp
References
Other 5
- https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-w76h-q7c6-jpjp
- https://github.com/oscal-compass/compliance-trestle/commit/53de5e75332888ea54f5da41d4c7859bb1d608e1
- https://github.com/oscal-compass/compliance-trestle/commit/5c65c5926fe7ca908b9c1d281f904e7d97ba8310
- https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2427.yaml
- https://github.com/oscal-compass/compliance-trestle
More oscal-compass vulnerabilities
- TI-2026-37891 Trestle URLSecurityValidator SSRF allowlist bypass via IPv4-mapped IPv6 and 0.0.0.0 CVSS 4.0HIGH 8.6
- TI-2026-34065 compliance-trestle - jinja has an Arbitrary File Write via Path Traversal CVSS 3.1HIGH 8.4
- TI-2026-34145 compliance-trestle Vulnerable to Remote Code Execution via Recursive Server-Side Template Injection (SSTI) CVSS 3.1HIGH 7.8
- TI-2026-33511 compliance-trestle Profile Import has an Arbitrary File Read via trestle:// URI and Relative Path Traversal CVSS 4.0MEDIUM 6.9
- TI-2026-41137 Trestle SSTI in Jinja2 include tags allows arbitrary code execution (Incomplete fix of CVE-2026-46439) CVSS 3.1HIGH 7.8
- TI-2026-39563 Trestle has Server-Side Template Injection (SSTI) via Recursive Template Re-evaluation of Untrusted Data CVSS 3.1HIGH 7.8
Sources
- CVE-2026-46380 · CVE Program
- CVE-2026-46380 · NVD
- FIRST EPSS
- GHSA-w76h-q7c6-jpjp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-46380 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences