Compliance-trestle (Trestle) is a Python SDK and command-line tool for managing OSCAL compliance documents. In versions before 3.12.4 and versions 4.0.0 through 4.0.3, the catalog-generate, profile-generate, and ssp-generate author commands write generated Markdown to an attacker-influenced output path without path-traversal validation, allowing arbitrary file write outside the Trestle workspace. These commands join the user-supplied output argument onto the Trestle root and write to the result, but guard it only with an is_directory_name_allowed() task-name-collision check rather than the PathSecurityValidator.validate_local_path() guard used by the jinja command, so an absolute path or one containing traversal sequences escapes the workspace and writes files under an attacker-chosen location as the invoking process owner. The security boundary is crossed when a trusted CI job, shared service, or wrapper derives the output argument from repository-controlled, tenant-controlled, or otherwise untrusted data while expecting output to stay inside the workspace. When --force-overwrite is used, the selected output directory is first recursively deleted, extending the primitive to destruction of an attacker-chosen directory tree and enabling indirect code execution by overwriting files a pipeline later runs. This issue is fixed in versions 3.12.4 and 4.1.0.
CVE-2026-57171
This high-severity CVE scores 7.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 90% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.7
- EG Score
- 7.7(medium)
- EG Risk
- 35(Track)EG Risk 35/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity77% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 10%
- KEV
- Not listed
Published
August 25, 2026
Last Modified
August 27, 2026
Advisory Details (4)
Auto-updated Aug 25, 2026v4.1.0
Patch available: oscal-compass/compliance-trestle v4.1.0
https://github.com/oscal-compass/compliance-trestle/releases/tag/v4.1.0commit 37ed44f5f2e0 (oscal-compass/compliance-trestle)
Fix landed in oscal-compass/compliance-trestle commit 37ed44f5f2e0 — awaiting tagged release
https://github.com/oscal-compass/compliance-trestle/commit/37ed44f5f2e074202c8eb7c2f203c05d19461cdcArbitrary File Write via Path Traversal in compliance-trestle - jinja · Advisory · oscal-compass/compliance-trestle · GitHub
https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-4q5v-7g7x-j79wIncomplete fix of CVE-2026-46345: Path Traversal Arbitrary File Write in trestle author {catalog,profile,ssp}-generate output paths · Advisory · oscal-compass/compliance-trestle · GitHub
https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-r4vp-3vw6-r2x5Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 06:20 UTCEG score recompute
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 17:32 UTCEG score recompute
- 2026-08-27 17:09 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 00:20 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 23:50 UTCEG score recompute
- 2026-08-25 23:49 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-57171?
When was CVE-2026-57171 disclosed?
Is CVE-2026-57171 actively exploited?
What is the CVSS score of CVE-2026-57171?
How do I remediate CVE-2026-57171?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-57171
Is Your Infrastructure Affected by CVE-2026-57171?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.