top of page
perceptive_background_267k.jpg

Compliance-trestle (Trestle) is a Python SDK and command-line tool for managing OSCAL compliance documents. In versions prior to 3.12.4 and 4.0.0 through 4.0.3,…

Published:

26 August 2026 at 00:00:00

Alert date:

26 August 2026 at 18:17:38

Source:

nvd.nist.gov

Click to open the original link from this advisory

Web Technologies, Supply Chain & Dependencies, Zero-Day Vulnerabilities

CVE-2026-57170 affects the Compliance-Trestle Python SDK used for managing OSCAL compliance documents. Versions prior to 3.12.4 and 4.0.0 through 4.0.3 contain a server-side template injection (SSTI) vulnerability in custom Jinja2 include tags (mdsection_include and md_clean_include). These tags re-parse included Markdown file content as Jinja2 template code in a non-sandboxed environment, enabling arbitrary code execution. The root cause is the use of a plain jinja2.Environment instead of a SandboxedEnvironment in Trestle/core/jinja/tags.py. Attacker-controlled OSCAL data fields such as control statements or component descriptions containing Jinja2 syntax can be injected and executed. Delimiter neutralization is only applied to parameter tables, leaving other prose fields vulnerable. The vulnerability has been fixed in version 4.1.0. Patches are available via two GitHub commits and a security advisory.

Technical details

Mitigation steps:

Affected products:

Compliance-Trestle (compliance-trestle < 3.12.4)
Compliance-Trestle (compliance-trestle 4.0.0 - 4.0.3)

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page