Skip to main content
← All vulnerabilities
CVE-2026-45725PYSEC-2026-2424GHSA-G3VG-VX23-3858

compliance-trestle Remote Fetching Mechanism has an Arbitrary File Write via Cache Path Traversal

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.12.2, 4.0.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • oscal-compass compliance-trestle

    fixed in 3.12.2; From 4.0.0 · fixed in 4.0.3

  • compliance-trestlePyPI

    fixed in 3.12.2; From 4.0.0 · fixed in 4.0.3

  • compliance-trestlePyPI

    From 4.0.0 · fixed in 4.0.3

  • compliance-trestlePyPI

    fixed in 3.12.2

References 4

GitHub · oscal-compass/compliance-trestle

GitHub · pypa/advisory-database