Vulnerability

CVE-2026-46439

highCVSS 3.1 7.8Published 14 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

compliance-trestle is a tooling platform for managing compliance as code. Versions prior to 3.12.2 and 4.0.3 have a Server-Side Template Injection (SSTI) vulnerability exists in the `trestle author jinja` command. The command recursively evaluates rendered templates, allowing an attacker to achieve arbitrary command execution with privileges of the running process by injecting malicious payloads into data fields (such as SSP documents or Lookup Tables). The vulnerability does not require attacker control of the template itself. Only attacker-controlled input data rendered into a trusted template is required. This distinction is critical: the template author may only intend to render plain text (e.g., `Title: {{ ssp.metadata.title }}`), but because of the recursive parsing, the data field itself becomes executable. The vulnerability is caused by recursive re-compilation and re-rendering of already-rendered output. Versions 3.12.3 and 4.0.3 patch the issue.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /oscal-compass/compliance-trestle/commit/247fcce289f60103f3…
  • github.com /oscal-compass/compliance-trestle/commit/7d107b3ac53caca7bd…
  • github.com /oscal-compass/compliance-trestle/security/advisories/GHSA-…
  • github.com /pypa/advisory-database/tree/main/vulns/compliance-trestle/…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning