CVE-2026-46345 json
compliance-trestle - jinja has an Arbitrary File Write via Path Traversal
published 2026-05-28 5 mo ago modified 2026-10-23 16 d ago also GHSA-4q5v-7g7x-j79w , PYSEC-2026-2423 , EUVD-2026-60317
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi compliance-trestle 3.12.2, 4.0.3
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-46345 updated cvss 8.4
compliance-trestle: compliance-trestle: Arbitrary file write via path traversal vulnerability
-
Red Hat File Integrity Operator compliance/openshift-compliance-content-rhel8 Red Hat Hardened Images scap-security-guide 0.1.81-2.hum1not affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5v-7g7x-j79w referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | compliance-trestle | >=4.0.0, <4.0.3 <3.12.2 |
4.0.3 3.12.2 |
Affected products
- oscal-compass compliance-trestle
Classification
References
-
github.com
/oscal-compass/compliance-trestle/commit/247fcce289f60103f3d8e28d8ec51a6986b94fb6
web
-
github.com
/oscal-compass/compliance-trestle/commit/7d107b3ac53caca7bde97a6278b23cd739d94525
web
-
github.com
/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5v-7g7x-j79w
exploit, web
-
github.com
/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2423.yaml
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-46345
advisory
-
github.com
/oscal-compass/compliance-trestle
package
-
pypi.org
/project/compliance-trestle
package
-
github.com
/advisories/GHSA-4q5v-7g7x-j79w
advisory
Sources
- CVE List CVE-2026-46345
- GitHub Advisory GHSA-4q5v-7g7x-j79w
- NVD CVE-2026-46345
- OSV PYSEC-2026-2423
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.