PT-2026-81901 · Unknown · Compliance-Trestle

·

CVE-2026-54757

·

Published

2026-08-25

·

Updated

2026-09-10

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Compliance-trestle versions prior to 3.12.4 Compliance-trestle versions 4.0.0 through 4.0.3
Description Compliance-trestle is subject to server-side template injection, which can lead to remote code execution. This occurs because the MDCleanInclude and MDSectionInclude Jinja2 tags re-parse untrusted Markdown content as template source code using a non-sandboxed jinja2.Environment. An attacker who controls content rendered by the tool, such as a crafted workspace Markdown file, a third-party SSP document, or a YAML lookup-table value, can inject a Jinja2 expression to traverse Python object internals and execute arbitrary operating system commands within the context of the process.
Recommendations Update versions prior to 3.12.4 to version 3.12.4. Update versions 4.0.0 through 4.0.3 to version 4.1.0.

Exploit

Fix

RCE

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54757
GHSA-JW39-3688-R4RX
PYSEC-2026-3817

Affected Products

Compliance-Trestle