CVE-2026-46345

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

Published Aug 17, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4q5v-7g7x-j79w compliance-trestle - jinja has an Arbitrary File Write via Path Traversal
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Oscal-compass
Oscal-compass compliance-trestle
Vendors & Products Oscal-compass
Oscal-compass compliance-trestle
Type Values Removed Values Added
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.
Title compliance-trestle - jinja has an Arbitrary File Write via Path Traversal
Weaknesses CWE-22
CWE-36
CWE-73
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 17, 2026, 6:03 PM
Reserved
May 13, 2026, 6:37 PM
Status
Deferred
Published
Aug 17, 2026, 6:16 PM
Modified
Oct 23, 2026, 4:10 PM
Severity
Important
Public date
Aug 17, 2026, 5:54 PM