cve.bz

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

7.1 highEPSS 0.5%Fix available

High (7.1) 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 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.

Severity

CVSS 4.0

7.1 high
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
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; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-17. 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-73 External Control of File Name or Path
OWASP Top 10
A06:2025 Insecure Design
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-45725 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45725?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45725?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-45725 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-g3vg-vx23-3858PyPIcompliance-trestle>=4.0.0 <4.0.34.0.3
GHSA-g3vg-vx23-3858PyPIcompliance-trestle<3.12.23.12.2
PYSEC-2026-2424PyPIcompliance-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 flaw in compliance-trestle allows for arbitrary file write due to a path traversal vulnerability in its remote fetching cache mechanism. An attacker could exploit this by providing a malicious URL within an OSCAL profile, leading to the writing of attacker-controlled content to arbitrary locations on the filesystem. This poses a significant risk to the integrity of the system where the File Integrity Operator is deployed.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

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

Attack patterns (CAPEC)

  • CAPEC-13 Subverting Environment Variable Values Likelihood: High · Severity: Very High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-72 URL Encoding 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-80 Using UTF-8 Encoding to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-267 Leverage Alternate Encoding Likelihood: High · Severity: High

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

References

Check your stackJSON