cve.bz

CVE-2026-45774 oscal-compass compliance-trestle: Path traversal

6.9 mediumEPSS 0.5%Fix available

Medium (6.9) in oscal-compass compliance-trestle. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in compliance-trestle 3.12.2, 4.0.3.

On this page
compliance-trestle is a tooling platform for managing compliance as code. Prior to versions 3.12.2 and 4.0.3, the compliance-trestle library's profile import mechanism resolves `trestle://` URIs and relative file paths by joining them with `trestle_root` and calling `.resolve()`, but performs no boundary check to ensure the resolved path stays within the trestle workspace. An attacker can craft a malicious OSCAL profile YAML with `imports[].href` containing path traversal sequences to read arbitrary files from the server filesystem. Versions 3.12.3 and 4.0.3 patch the issue.

Severity

CVSS 4.0

6.9 medium
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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • compliance-trestle (PyPI): fixed in 4.0.3, 3.12.2

Ask an AI about this CVE

Show the promptExplain CVE-2026-45774 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45774?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45774?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-45774 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

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

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mj4x-vf5c-5xg8PyPIcompliance-trestle>=4.0.0 <4.0.34.0.3
GHSA-mj4x-vf5c-5xg8PyPIcompliance-trestle<3.12.23.12.2
PYSEC-2026-2426PyPIcompliance-trestle<3.12.2
>=4.0.0 <4.0.3
3.12.2, 4.0.3

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important vulnerability in `compliance-trestle`, utilized by the File Integrity Operator, allows an unauthenticated attacker to read arbitrary files from the server filesystem. By crafting a malicious OSCAL profile YAML with path traversal sequences, an attacker can exploit improper path validation during profile import, leading to significant information disclosure.

Red Hat's mitigation

To mitigate this issue, ensure that only trusted OSCAL profile YAML files are imported and processed by systems utilizing `compliance-trestle`. Avoid importing or processing OSCAL profile YAML files from untrusted or unverified sources.

ProductPackageStateAdvisory
File Integrity Operatorcompliance/openshift-compliance-content-rhel8Not affected
Red Hat Hardened Imagesscap-security-guideNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-45774.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON