CVE-2026-57171
Last modified
CVE-2026-57171 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| oscal-compass | compliance-trestle | < 3.12.4; >= 4.0.0, < 4.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-57171?
How severe is CVE-2026-57171?
How do I fix CVE-2026-57171?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-57164PJSIP is a free and open source multimedia communication lib…5.9
- CVE-2026-57165PJSIP is a free and open source multimedia communication lib…5.3
- CVE-2026-57166PJSIP is a free and open source multimedia communication lib…5.3
- CVE-2026-57167PeerTube is an ActivityPub-federated video streaming platfor…5.1
- CVE-2026-5717The VI: Include Post By plugin for WordPress is vulnerable t…6.4
- CVE-2026-57170Compliance-trestle (Trestle) is a Python SDK and command-lin…7.8
- CVE-2026-57172DataEase is an open source data visualization and analysis t…8.3
- CVE-2026-5718The Drag and Drop Multiple File Upload for Contact Form 7 pl…8.1
- CVE-2026-5719A flaw has been found in itsourcecode Construction Managemen…6.3
- CVE-2026-5720miniupnpd contains an integer underflow vulnerability in SOA…9.1
- CVE-2026-57204pypdf is a free and open-source pure-python PDF library. Pri…6.5
- CVE-2026-57205SimpleChat is a secure AI conversation application with pers…4.3
Are you affected by CVE-2026-57171?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
