ADVISORIES

Vulnerability

CVE-2026-45774

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.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity PyPI 2

Advisories in PyPI

  • GHSA-mj4x-vf5c-5xg8

    compliance-trestle Profile Import has an Arbitrary File Read via trestle:// URI and Relative Path Traversal

    Moderate CVE-2026-45774 PyPI Updated 13 July 2026
  • PYSEC-2026-2426

    compliance-trestle Profile Import has an Arbitrary File Read via trestle:// URI and Relative Path Traversal

    CVE-2026-45774 PyPI Updated 13 July 2026

References