CVE-2026-45774oscal-compass compliance-trestle
Medium 6.9 No auth needed
Follow: this CVE · oscal-compass · oscal-compass compliance-trestle We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Aug 13, 2026
- Updated
- Sep 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for compliance-trestle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | compliance-trestle |
≥ 4.0.0 < 4.0.3 |
4.0.3 |
pip install "compliance-trestle>=4.0.3" |
| PyPI | compliance-trestle |
< 3.12.2 |
3.12.2 |
pip install "compliance-trestle>=3.12.2" |
| PyPI | compliance-trestle |
< 3.12.2 |
3.12.2 |
pip install "compliance-trestle>=3.12.2" |
| PyPI | compliance-trestle |
≥ 4.0.0 < 4.0.3 |
4.0.3 |
pip install "compliance-trestle>=4.0.3" |
Per OSV / GitHub Advisories (GHSA-mj4x-vf5c-5xg8, PYSEC-2026-2426). Check the version in your lockfile before upgrading.
Affected products
- oscal-compass · compliance-trestle
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.