Description
compliance-trestle is a tooling platform for managing compliance as code. Prior to versions 3.12.2 and 4.0.3, the `-o/--output` argument in `trestle author jinja` allows writing files outside the intended workspace. The application does not properly validate, `../`, `..\`, or absolute paths. This allows arbitrary file write to attacker-controlled locations. Versions 3.12.3 and 4.0.3 patch the issue.
References5
- github.com/oscal-compass/compliance-trestle/commit/247fcce289f6…
- github.com/oscal-compass/compliance-trestle/commit/7d107b3ac53c…
- github.com/oscal-compass/compliance-trestle/security/advisories…
- github.com/pypa/advisory-database/tree/main/vulns/compliance-tr…
- github.com/oscal-compass/compliance-trestle/security/advisories…
Metrics
- CVSS 3.1
-
8.4
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 11 · as of 11 November 2026
- CWE
- CWE-22CWE-36CWE-73
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.