{"id":"CVE-2026-45725","published":"2026-08-13T19:22:59Z","modified":"2026-08-17T18:18:06Z","title":"compliance-trestle Remote Fetching Mechanism has an Arbitrary File Write via Cache Path Traversal","vendor":"oscal-compass","product":"compliance-trestle","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00466,"percentile":0.32385,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-g3vg-vx23-3858","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/oscal-compass/compliance-trestle/commit/89f4e53d159e8ff901da4d7c3b51c9556bd32ec0","tags":["x_refsource_MISC"]},{"url":"https://github.com/oscal-compass/compliance-trestle/commit/9abc492329fcc8d0557182317de9bde854385da3","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2424.yaml","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":6.48},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"oscal-compass","affectedVersions":[{"vendor":"oscal-compass","product":"compliance-trestle","versions":["< 3.12.2",">= 4.0.0, < 4.0.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-17T17:10:07.289390Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"compliance-trestle","vulnerableRanges":[">=4.0.0, <4.0.3","<3.12.2"],"patched":["4.0.3","3.12.2"],"from":["GHSA-g3vg-vx23-3858","PYSEC-2026-2424"],"provenance":"source"}],"summary":{"text":"compliance-trestle, a tool for managing compliance as code, contains a path traversal flaw in its remote fetching cache mechanism (the HTTPSFetcher and SFTPFetcher components of the library), where the local cache file path is built from the URL path without sanitizing \"../\" sequences. An attacker who can get a remote OSCAL profile referencing a crafted URL processed can cause the HTTP response body, with attacker-controlled content, to be written to arbitrary locations on the filesystem outside the cache directory, requiring network access and low privileges with no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:46Z"},"euvd":{"id":"EUVD-2026-58356","exploited":false,"provenance":"source"}}