Skip to main content
EPSS 0.5%top 62%

CVE-2026-45725: CWE-73: External Control of File Name or Path in oscal-compass compliance-trestle

0
High
VulnerabilityCVE-2026-45725cvecve-2026-45725cwe-73
Published: 08/13/2026 (08/13/2026, 19:22:59 UTC)
Source: CVE Database V5
Vendor/Project: oscal-compass
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

oscal-compass

compliance-trestle

Affected versions
<3.12.2>=4.0.0 <4.0.3
compliance-trestle
pkg:pypi/compliance-trestle
Affected versions
<3.12.3<4.0.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 13:14:09 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses