Vulnerability Description
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.
Related Weaknesses (CWE)
References
- https://github.com/oscal-compass/compliance-trestle/commit/5c65c5926fe7ca908b9c1
- https://github.com/oscal-compass/compliance-trestle/commit/d00a0c2f702c24f701600
- https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-mj4
- https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYS
- https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-mj4
FAQ
What is CVE-2026-45774?
CVE-2026-45774 is a documented vulnerability. 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 r...
How severe is CVE-2026-45774?
CVSS scoring is not yet available for CVE-2026-45774. Check NVD for updates.
Is there a patch for CVE-2026-45774?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.