CVE-2026-46345

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

State
Published
Severity
8.4 High
Published
Aug 17, 2026
Updated
Aug 17, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-36 Absolute Path Traversal
  • CWE-73 External Control of File Name or Path

Affected Products

ProductVersions
compliance-trestleoscal-compass
  • >= 4.0.0, < 4.0.3Affected
  • < 3.12.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.