# CVE-2026-45725: compliance-trestle Remote Fetching Mechanism has an Arbitrary File Write via Cache Path Traversal

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-05-27T22:57:37.000Z
- Modified: 2026-09-18T20:09:01.757Z
- Also known as: GHSA-g3vg-vx23-3858, PYSEC-2026-2424
- Weaknesses: CWE-73
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- oscal-compass compliance-trestle: < 3.12.2; >= 4.0.0, < 4.0.3
- compliance-trestle (PyPI): from 4.0.0 before 4.0.3; before 3.12.2

## Every score

- GitHub_M: CVSS:4.0 7.1 High `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`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-g3vg-vx23-3858> (web)
- <https://github.com/oscal-compass/compliance-trestle/commit/89f4e53d159e8ff901da4d7c3b51c9556bd32ec0> (web)
- <https://github.com/oscal-compass/compliance-trestle/commit/9abc492329fcc8d0557182317de9bde854385da3> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2424.yaml>
- <https://github.com/oscal-compass/compliance-trestle> (package)
- <https://pypi.org/project/compliance-trestle> (package)
- <https://github.com/advisories/GHSA-g3vg-vx23-3858> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45725> (advisory)

## Sources

- CVE List: [CVE-2026-45725](https://www.cve.org/CVERecord?id=CVE-2026-45725), CVE Terms of Use, modified 2026-08-17
- GitHub Advisory Database: [GHSA-g3vg-vx23-3858](https://github.com/advisories/GHSA-g3vg-vx23-3858), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-45725](https://nvd.nist.gov/vuln/detail/CVE-2026-45725), Public domain, modified 2026-09-18
- PyPA Advisory Database: [PYSEC-2026-2424](https://osv.dev/vulnerability/PYSEC-2026-2424), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-45725 · Whole record: https://cve.day/CVE-2026-45725.json · Rebuilt by cve.day 2026-11-25T22:59:32.835Z
