Skip to main content
← All vulnerabilities
CVE-2026-46345PYSEC-2026-2423GHSA-4Q5V-7G7X-J79W

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.3, 3.12.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • oscal-compass compliance-trestle

    From 4.0.0 · fixed in 4.0.3; fixed in 3.12.2

  • compliance-trestlePyPI

    fixed in 3.12.2; From 4.0.0 · fixed in 4.0.3

  • compliance-trestlePyPI

    From 4.0.0 · fixed in 4.0.3

  • compliance-trestlePyPI

    fixed in 3.12.2

References 4

GitHub · oscal-compass/compliance-trestle

GitHub · pypa/advisory-database