CVE-2026-45725 json
compliance-trestle Remote Fetching Mechanism has an Arbitrary File Write via Cache Path Traversal
published 2026-05-27 5 mo ago modified 2026-09-18 51 d ago also GHSA-g3vg-vx23-3858 , PYSEC-2026-2424 , EUVD-2026-58356
- cvss
- 7.1
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
compliance-trestle is a tooling platform for managing compliance as code. Prior to versiions 3.12.2 and 4.0.3, the compliance-trestle library's remote fetching cache mechanism (HTTPSFetcher and SFTPFetcher) constructs the local cache file path from the URL path component without sanitizing path traversal sequences (`../`). When a remote OSCAL profile references a URL with traversal in its path, the HTTP response body is written to a location outside the intended cache directory, enabling arbitrary file write with attacker-controlled content to the filesystem. 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-45725 updated cvss 7.4
compliance-trestle: compliance-trestle: Arbitrary file write via path traversal in remote fetching mechanism
-
Red Hat File Integrity Operator compliance/openshift-compliance-content-rhel8not affected: component not present
-
Red Hat Hardened Images scap-security-guide 0.1.81-2.hum1not affected: vulnerable code 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
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
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
- Weakness
-
- CWE-73 External Control of File Name or Path
References
-
github.com
/oscal-compass/compliance-trestle/commit/89f4e53d159e8ff901da4d7c3b51c9556bd32ec0
web
-
github.com
/oscal-compass/compliance-trestle/commit/9abc492329fcc8d0557182317de9bde854385da3
web
-
github.com
/oscal-compass/compliance-trestle/security/advisories/GHSA-g3vg-vx23-3858
web
- github.com /pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2424.yaml
-
github.com
/oscal-compass/compliance-trestle
package
-
pypi.org
/project/compliance-trestle
package
-
github.com
/advisories/GHSA-g3vg-vx23-3858
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-45725
advisory
Sources
- CVE List CVE-2026-45725
- GitHub Advisory GHSA-g3vg-vx23-3858
- NVD CVE-2026-45725
- OSV PYSEC-2026-2424
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.