CVE-2026-46345
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.
How to fix
- compliance-trestle4.0.3, 3.12.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| compliance-trestlePyPI | 4.0.0 ≤ v < 4.0.3, v < 3.12.2 | 4.0.3, 3.12.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.