← CVE Intelligence

CVE-2026-44209

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
masci / banksaffected < 2.4.2

CWE

CWE-1336

References

ADP enrichment

CISA-ADP

No English description supplied.

redhat-SADP

A flaw was found in banks. This vulnerability, known as Server-Side Template Injection (SSTI), allows a remote attacker to achieve Remote Code Execution (RCE) on the host system. This occurs when applications using banks pass user-supplied strings directly as template arguments to the Prompt() function, which then renders these templates in an unsandboxed environment.