High [CVE-2026-54757] Remote Code Execution via Server-Side Template Injection
This high-severity Red Hat Linux advisory covers CVE-2026-54757 affecting File Integrity Operator.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
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, Trestle is vulnerable to server-side template injection that 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 that Trestle renders, such as a crafted workspace Markdown file, a third-party SSP document, or a YAML lookup-table value, can inject a Jinja2 expression that traverses Python object internals to execute arbitrary operating system commands in the context of the Trestle process.
This issue is fixed in versions 3.12.4 and 4.1.0. This allows for remote code execution, enabling the attacker to run arbitrary operating system commands within the Trestle process.
Red Hat severity: Important — CVSS 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H). Weakness: CWE-917.
Affected Red Hat products: File Integrity Operator. Red Hat lists Red Hat Hardened Images as not affected.
Red Hat does not currently list a fixing RHSA for this CVE.
- < 3.12.4
- < 4.0.0
- < 4.0.3
Official advisory · high-confidence parse· fetched 1 hour ago·verify at source
- 3.12.4
- 4.1.0
Official advisory · high-confidence parse· fetched 1 hour ago·verify at source
Mitigation
Upgrade to a fixed release: 3.12.4, 4.1.0. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · high-confidence parse· fetched 1 hour ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.