CVE-2026-45725
HIGH 7.1CVSS 4.0compliance-trestle Remote Fetching Mechanism has an Arbitrary File Write via Cache Path Traversal
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.
- Published
- 13 Aug 2026
- Last modified
- 18 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-73
- Also known as
- GHSA-g3vg-vx23-3858PYSEC-2026-2424
- Sources
- NVDJSONOSV GHSA-g3vg-vx23-3858JSONOSV PYSEC-2026-2424JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 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 |
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 |
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/89f4e53d159e8ff901da4d7c3b51c9556bd32ec0 · WEB
- https://github.com/oscal-compass/compliance-trestle/commit/9abc492329fcc8d0557182317de9bde854385da3 · WEB
- https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-g3vg-vx23-3858 · 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
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 13 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 27 May 2026)