7.5High

CVE-2026-44209Banks: Critical Remote Code Execution (RCE) via Jinja2 SSTI

masci banks; Red Hat Exploit Intelligence; Red Hat OpenShift Lightspeed; Red Hat Red Hat Ansible Automation Platform 2 Published: (5 months ago)

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.

Weakness (CWE): CWE-1336CWE-917

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
masci banks < 2.4.2
Red Hat Exploit Intelligence all versions
Red Hat OpenShift Lightspeed —
Red Hat Red Hat Ansible Automation Platform 2 all versions

References and patches