Live threats

All CVEs / oscal-compass

CVE-2026-46439oscal-compass compliance-trestle

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
—
Auth required
Yes
Published
Aug 14, 2026
Updated
Sep 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-1336
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for compliance-trestle.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI compliance-trestle < 3.12.2 3.12.2 pip install "compliance-trestle>=3.12.2"
PyPI compliance-trestle ≥ 4.0.0 < 4.0.3 4.0.3 pip install "compliance-trestle>=4.0.3"
PyPI compliance-trestle < 3.12.2 3.12.2 pip install "compliance-trestle>=3.12.2"
PyPI compliance-trestle ≥ 4.0.0 < 4.0.3 4.0.3 pip install "compliance-trestle>=4.0.3"

Per OSV / GitHub Advisories (GHSA-gg2g-p7xc-qqmm, PYSEC-2026-2425). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.