Vulnerability details
CVE-2026-46345
oscal-compass compliance-trestle
compliance-trestle - jinja has an Arbitrary File Write via Path Traversal
CVSS 3.1
8.4High
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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.4High | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| oscal-compass | compliance-trestle | < 3.12.2 | CVEProject cvelistV5 (CNA) |
| oscal-compass | compliance-trestle | >= 4.0.0, < 4.0.3 | CVEProject cvelistV5 (CNA) |
References and advisories
4- https://github.com/oscal-compass/compliance-trestle/commit/247fcce289f60103f3d8e28d8ec51a6986b94fb6 x_refsource_MISC
- https://github.com/oscal-compass/compliance-trestle/commit/7d107b3ac53caca7bde97a6278b23cd739d94525 x_refsource_MISC
- https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2423.yaml x_refsource_MISC
- https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5v-7g7x-j79w x_refsource_CONFIRM
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-08-17
- Last updated
- 2026-08-17
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
0.2%
Probability of exploitation in 30 days
10.4%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-36Absolute Path Traversal
- CWE-73External Control of File Name or Path