Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/oscal-compass/compliance-trestle/commit/247fcce289f60103f3d8e
- https://github.com/oscal-compass/compliance-trestle/commit/7d107b3ac53caca7bde97
- https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5
- https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYS
- https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5
FAQ
What is CVE-2026-46345?
CVE-2026-46345 is a vulnerability with a CVSS score of 8.4 (HIGH). 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 inte...
How severe is CVE-2026-46345?
CVE-2026-46345 has been rated HIGH with a CVSS base score of 8.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-46345?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.