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.
References6
- github.com/masci/banks/pull/74
- github.com/masci/banks/security/advisories/GHSA-gphh-9q3h-jgpp
- access.redhat.com/security/cve/CVE-2026-44209
- bugzilla.redhat.com/show_bug.cgi?id=2481713
- github.com/masci/banks/security/advisories/GHSA-gphh-9q3h-jgpp
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44209…
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 37 · as of 14 November 2026
- CWE
- CWE-1336CWE-917
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.