CVE-2026-45774: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in oscal-compass compliance-trestle
A path traversal vulnerability (CWE-22) exists in compliance-trestle's profile import mechanism prior to versions 3.12.3 and 4.0.3. The vulnerability allows crafted OSCAL profile YAML files with malicious imports[].href values to read arbitrary files outside the intended workspace. The issue is fixed in versions 3.12.3 and 4.0.3.
AI Analysis
Technical Summary
The compliance-trestle library's profile import mechanism resolves 'trestle://' URIs and relative file paths by joining them with the trestle_root directory and calling .resolve(), but it does not verify that the resolved path remains within the trestle workspace. This lack of boundary checking enables an attacker to craft a malicious OSCAL profile YAML file with path traversal sequences in imports[].href, allowing arbitrary file read access on the server filesystem. Versions 3.12.3 and 4.0.3 include patches that address this vulnerability.
Potential Impact
An unauthenticated attacker can exploit this vulnerability by supplying a malicious OSCAL profile YAML file to read arbitrary files on the server filesystem outside the intended workspace. This can lead to disclosure of sensitive information. The CVSS 4.0 base score is 6.9 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality.
Mitigation Recommendations
Upgrade compliance-trestle to version 3.12.3 or later, or 4.0.3 or later, where this path traversal vulnerability has been fixed. No other mitigations are indicated by the vendor advisory. Patch status is confirmed by the version information in the description.
CVE-2026-45774: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in oscal-compass compliance-trestle
Description
A path traversal vulnerability (CWE-22) exists in compliance-trestle's profile import mechanism prior to versions 3.12.3 and 4.0.3. The vulnerability allows crafted OSCAL profile YAML files with malicious imports[].href values to read arbitrary files outside the intended workspace. The issue is fixed in versions 3.12.3 and 4.0.3.
CVSS v4.0
Score 6.9medium
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 profile import mechanism resolves 'trestle://' URIs and relative file paths by joining them with the trestle_root directory and calling .resolve(), but it does not verify that the resolved path remains within the trestle workspace. This lack of boundary checking enables an attacker to craft a malicious OSCAL profile YAML file with path traversal sequences in imports[].href, allowing arbitrary file read access on the server filesystem. Versions 3.12.3 and 4.0.3 include patches that address this vulnerability.
Potential Impact
An unauthenticated attacker can exploit this vulnerability by supplying a malicious OSCAL profile YAML file to read arbitrary files on the server filesystem outside the intended workspace. This can lead to disclosure of sensitive information. The CVSS 4.0 base score is 6.9 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality.
Mitigation Recommendations
Upgrade compliance-trestle to version 3.12.3 or later, or 4.0.3 or later, where this path traversal vulnerability has been fixed. No other mitigations are indicated by the vendor advisory. Patch status is confirmed by the version information in the description.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T07:45:21.251Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a7e217cbf8831d539ba0d31
Added to database: 08/13/2026, 19:56:44 UTC
Last enriched: 08/21/2026, 13:33:57 UTC
Last updated: 09/26/2026, 13:47:45 UTC
Views: 57
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.