CVE-2026-44209 Details
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.
A server-side template injection vulnerability has been identified in Banks versions through 2.4.1. This issue arises because the application uses an unsandboxed Jinja2 environment to render prompt templates. When user-supplied strings are passed as template arguments, this vulnerability can be exploited, leading to remote code execution on the host system. The vulnerability is present in applications that allow users to customize prompt templates, such as those storing templates in a database or loading them from user-supplied configuration files.
Users of Banks should upgrade to version 2.4.2, which addresses the vulnerability by switching to a sandboxed Jinja2 environment that blocks the exploitation vector. Developers should also avoid passing untrusted user input as template arguments to the Prompt() function.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 26, 2026CISA-ADP
Assessed May 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-44209 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2481713 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44209.json | redhat-SADP | |
| https://github.com/masci/banks/security/advisories/GHSA-gphh-9q3h-jgpp | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/masci/banks/pull/74 | [email protected] | Issue TrackingVendor |
| https://github.com/masci/banks/security/advisories/GHSA-gphh-9q3h-jgpp | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine | [email protected] |
| CWE-917 | Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') | redhat-SADP |
Affected Products
| Product | Versions |
|---|---|
| banks | <= 2.4.1 (semver) |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Modified | redhat-SADP |
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 28, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | New CVE Received | [email protected] |
Volerion