high7.5
CVE-2026-44209
Banks generates meaningful LLM prompts using a template language that makes sense.
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | banks | <= 2.4.1 | 2.4.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-gphh-9q3h-jgpp
- https://github.com/masci/banks/security/advisories/GHSA-gphh-9q3h-jgpp
- https://github.com/masci/banks/pull/74
- https://nvd.nist.gov/vuln/detail/CVE-2026-44209
- https://access.redhat.com/security/cve/CVE-2026-44209
- https://bugzilla.redhat.com/show_bug.cgi?id=2481713
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44209.json