Vulnerability · Published Aug 17, 2026 · Assigned by GitHub_M

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

High 8.4

In plain English

A high-severity path traversal in compliance-trestle from oscal-compass. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.4High
Exploit odds (30 days)0.2%top 89.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIcompliance-trestle4.0.3GHSA-4q5v-7g7x-j79w
PyPIcompliance-trestle3.12.2GHSA-4q5v-7g7x-j79w
PyPIcompliance-trestle3.12.2, 4.0.3PYSEC-2026-2423

Affected products (as reported)

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

Weakness: CWE-22, CWE-36, CWE-73 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References