Improper Neutralization of Special Elements Used in a Template Engine Affecting compliance-trestle package, versions [,3.12.2)[4.0.0,4.0.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-COMPLIANCETRESTLE-17283197
  • published10 Jun 2026
  • disclosed28 May 2026
  • creditLAKSHMIKANTHAN K

Introduced: 28 May 2026

NewCVE-2026-46439  (opens in a new tab)
CWE-1336  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade compliance-trestle to version 3.12.2, 4.0.3 or higher.

Overview

compliance-trestle is a Tools to manage & autogenerate python objects representing the OSCAL layers/models

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the render_template method. An attacker can execute arbitrary commands with the privileges of the running process by injecting malicious payloads into data fields that are rendered by trusted templates.

Note: This is only exploitable if attacker-controlled input data is rendered into a trusted template and the user/operator processes the attacker-controlled data, such as SSP or LUT files.

CVSS Base Scores

version 4.0
version 3.1