Skip to main content
EPSS 0.5%top 57%

CVE-2026-45774: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in oscal-compass compliance-trestle

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/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:33:57 UTC

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.

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