Vulnerability · Published Aug 13, 2026 · Assigned by GitHub_M

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

High 7.1

In plain English

A high-severity security flaw in compliance-trestle from oscal-compass. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.1High
Exploit odds (30 days)0.5%top 59.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIcompliance-trestle4.0.3GHSA-g3vg-vx23-3858
PyPIcompliance-trestle3.12.2GHSA-g3vg-vx23-3858
PyPIcompliance-trestle3.12.2, 4.0.3PYSEC-2026-2424

Affected products (as reported)

VendorProductVersions
oscal-compass compliance-trestle < 3.12.2>= 4.0.0, < 4.0.3

Weakness: CWE-73 · 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

References