{"cve":"CVE-2026-46345","nvd":{"published":"2026-08-17T18:16:38.393","modified":"2026-10-23T16:10:00.313","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4},"cwes":["CWE-22","CWE-36","CWE-73"],"references":["https://github.com/oscal-compass/compliance-trestle/commit/247fcce289f60103f3d8e28d8ec51a6986b94fb6","https://github.com/oscal-compass/compliance-trestle/commit/7d107b3ac53caca7bde97a6278b23cd739d94525","https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5v-7g7x-j79w","https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2423.yaml","https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5v-7g7x-j79w"],"products":[],"source":"nvd","synced_at":"2026-10-23T16:39:26.291718493+00:00"},"epss":{"cve":"CVE-2026-46345","score":0.00204,"percentile":0.10278,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-4q5v-7g7x-j79w","url":"https://osv.dev/vulnerability/GHSA-4q5v-7g7x-j79w","summary":"compliance-trestle - jinja has an Arbitrary File Write via Path Traversal","modified":"2026-08-27T04:10:58.938518792Z","packages":[{"ecosystem":"PyPI","name":"compliance-trestle","purl":"pkg:pypi/compliance-trestle","ranges":[">=4.0.0 <4.0.3"],"fixed":["4.0.3"]},{"ecosystem":"PyPI","name":"compliance-trestle","purl":"pkg:pypi/compliance-trestle","ranges":["<3.12.2"],"fixed":["3.12.2"]}]},{"id":"PYSEC-2026-2423","url":"https://osv.dev/vulnerability/PYSEC-2026-2423","summary":"compliance-trestle - jinja has an Arbitrary File Write via Path Traversal","modified":"2026-07-13T16:31:32.600477733Z","packages":[{"ecosystem":"PyPI","name":"compliance-trestle","purl":"pkg:pypi/compliance-trestle","ranges":["<3.12.2",">=4.0.0 <4.0.3"],"fixed":["3.12.2","4.0.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}