Skip to content
OpenAdvisories
High · 8.4 CVE-2026-46345 EUVD-2026-60317GHSA-4q5v-7g7x-j79wPYSEC-2026-2423

compliance-trestle - jinja has an Arbitrary File Write via Path Traversal

Published Aug 17, 2026 · Updated Aug 17, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
oscal-compass compliance-trestle >= 4.0.0, < 4.0.3, < 3.12.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI compliance-trestle >= 4.0.0, < 4.0.3 4.0.3 GHSA-4q5v-7g7x-j79w
PyPI compliance-trestle < 3.12.2 3.12.2 GHSA-4q5v-7g7x-j79w
PyPI compliance-trestle < 3.12.2 · >= 4.0.0, < 4.0.3 3.12.2, 4.0.3 PYSEC-2026-2423

References