CVE-2026-45774 json
compliance-trestle Profile Import has an Arbitrary File Read via trestle:// URI and Relative Path Traversal
published 2026-05-28 5 mo ago modified 2026-09-18 51 d ago also GHSA-mj4x-vf5c-5xg8 , PYSEC-2026-2426 , EUVD-2026-58357
- cvss
- 6.9
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi compliance-trestle 3.12.2, 4.0.3
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-45774 updated cvss 7.4
compliance-trestle: compliance-trestle: Arbitrary file read via path traversal in profile import
-
Red Hat File Integrity Operator compliance/openshift-compliance-content-rhel8not affected: component not present
-
Red Hat Hardened Images scap-security-guide 0.1.81-2.hum1not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-mj4x-vf5c-5xg8 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | 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 |
| CNA | 4.0 | 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | compliance-trestle | >=4.0.0, <4.0.3 <3.12.2 |
4.0.3 3.12.2 |
Affected products
- oscal-compass compliance-trestle
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/oscal-compass/compliance-trestle/commit/5c65c5926fe7ca908b9c1d281f904e7d97ba8310
web
-
github.com
/oscal-compass/compliance-trestle/commit/d00a0c2f702c24f7016009fbd626036f5c46f47b
web
-
github.com
/oscal-compass/compliance-trestle/security/advisories/GHSA-mj4x-vf5c-5xg8
exploit, web
- github.com /pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2426.yaml
-
github.com
/oscal-compass/compliance-trestle
package
-
pypi.org
/project/compliance-trestle
package
-
github.com
/advisories/GHSA-mj4x-vf5c-5xg8
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-45774
advisory
Sources
- CVE List CVE-2026-45774
- GitHub Advisory GHSA-mj4x-vf5c-5xg8
- NVD CVE-2026-45774
- OSV PYSEC-2026-2426
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.