CVE-2026-44209

Banks: Critical Remote Code Execution (RCE) via Jinja2 SSTI

Published May 26, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Banks generates meaningful LLM prompts using a template language that makes sense. Prior to 2.4.2, banks uses jinja2.Environment() (unsandboxed) to render prompt templates. Applications that pass user-supplied strings as the template argument to Prompt() are vulnerable to Server-Side Template Injection (SSTI), which can lead to Remote Code Execution (RCE) on the host system. This vulnerability is fixed in 2.4.2.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-gphh-9q3h-jgpp banks has Critical Remote Code Execution (RCE) via Jinja2 SSTI
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Masci
Masci banks
Vendors & Products Masci
Masci banks
Type Values Removed Values Added
Description Banks generates meaningful LLM prompts using a template language that makes sense. Prior to 2.4.2, banks uses jinja2.Environment() (unsandboxed) to render prompt templates. Applications that pass user-supplied strings as the template argument to Prompt() are vulnerable to Server-Side Template Injection (SSTI), which can lead to Remote Code Execution (RCE) on the host system. This vulnerability is fixed in 2.4.2.
Title Banks: Critical Remote Code Execution (RCE) via Jinja2 SSTI
Weaknesses CWE-1336
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 24, 2026, 12:05 PM
Reserved
May 5, 2026, 3:13 PM
Status
Deferred
Published
May 26, 2026, 9:16 PM
Modified
Jul 24, 2026, 1:18 PM