CVE-2026-45725: CWE-73: External Control of File Name or Path in oscal-compass compliance-trestle
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.
AI Analysis
Technical Summary
The compliance-trestle library's HTTPSFetcher and SFTPFetcher components construct local cache file paths directly from the URL path without sanitizing path traversal sequences such as '../'. This lack of sanitization allows an attacker who controls a remote OSCAL profile URL to cause the HTTP response body to be written outside the designated cache directory, resulting in arbitrary file write on the local filesystem. This vulnerability is tracked as CWE-73 (External Control of File Name or Path). Versions 3.12.3 and 4.0.3 contain patches that address this issue by properly sanitizing the path components.
Potential Impact
An attacker able to supply a malicious URL with path traversal sequences can cause arbitrary files to be written to the filesystem of the host running compliance-trestle. This can lead to unauthorized file modification or creation, potentially enabling further compromise depending on the environment and file write locations. The vulnerability has a CVSS 4.0 score of 7.1 (high severity), indicating significant impact with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on integrity.
Mitigation Recommendations
Upgrade compliance-trestle to version 3.12.3 or later, or 4.0.3 or later, where the vulnerability is patched. No other mitigations are indicated. Patch status is not explicitly stated as 'official-fix' in the vendor advisory, but the version increments and description confirm the fix availability in these versions.
CVE-2026-45725: CWE-73: External Control of File Name or Path in oscal-compass compliance-trestle
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.
CVSS v4.0
Score 7.1high
Affected software
oscal-compass
compliance-trestle
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The compliance-trestle library's HTTPSFetcher and SFTPFetcher components construct local cache file paths directly from the URL path without sanitizing path traversal sequences such as '../'. This lack of sanitization allows an attacker who controls a remote OSCAL profile URL to cause the HTTP response body to be written outside the designated cache directory, resulting in arbitrary file write on the local filesystem. This vulnerability is tracked as CWE-73 (External Control of File Name or Path). Versions 3.12.3 and 4.0.3 contain patches that address this issue by properly sanitizing the path components.
Potential Impact
An attacker able to supply a malicious URL with path traversal sequences can cause arbitrary files to be written to the filesystem of the host running compliance-trestle. This can lead to unauthorized file modification or creation, potentially enabling further compromise depending on the environment and file write locations. The vulnerability has a CVSS 4.0 score of 7.1 (high severity), indicating significant impact with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on integrity.
Mitigation Recommendations
Upgrade compliance-trestle to version 3.12.3 or later, or 4.0.3 or later, where the vulnerability is patched. No other mitigations are indicated. Patch status is not explicitly stated as 'official-fix' in the vendor advisory, but the version increments and description confirm the fix availability in these versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T05:51:48.666Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a7e217cbf8831d539ba0d29
Added to database: 08/13/2026, 19:56:44 UTC
Last enriched: 08/21/2026, 13:14:09 UTC
Last updated: 09/27/2026, 17:10:12 UTC
Views: 61
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.