CVE-2026-46345
HIGH 8.4CVSS 3.1compliance-trestle - jinja has an Arbitrary File Write via Path Traversal
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.
- Published
- 17 Aug 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-36CWE-73
- Also known as
- GHSA-4q5v-7g7x-j79wPYSEC-2026-2423
- Sources
- NVDJSONOSV GHSA-4q5v-7g7x-j79wJSONOSV PYSEC-2026-2423JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | compliance-trestle | >= 4.0.0, < 4.0.3 | 4.0.3 |
| OSV | PyPI | compliance-trestle | < 3.12.2 | 3.12.2 |
| OSV | PyPI | compliance-trestle | < 3.12.2; >= 4.0.0, < 4.0.3 | 3.12.2, 4.0.3 |
References
- https://github.com/oscal-compass/compliance-trestle/commit/247fcce289f60103f3d8e28d8ec51a6986b94fb6 · WEB
- https://github.com/oscal-compass/compliance-trestle/commit/7d107b3ac53caca7bde97a6278b23cd739d94525 · WEB
- https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5v-7g7x-j79w · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2423.yaml · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-46345 · ADVISORY
- https://github.com/oscal-compass/compliance-trestle · PACKAGE
- https://pypi.org/project/compliance-trestle · PACKAGE
- https://github.com/advisories/GHSA-4q5v-7g7x-j79w · ADVISORY
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 17 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 May 2026)