CVE-2026-44209
published high CVSS 3.1 · 7.5Banks: Critical Remote Code Execution (RCE) via Jinja2 SSTI
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| masci | — | banks< 2.4.2 | Affected | Not stated | GitHub_M |
| Red Hat | — | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9Exploit Intelligence | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-ocp-rag-rhel9OpenShift Lightspeed | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-service-api-rhel9OpenShift Lightspeed | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9OpenShift Lightspeed | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/lightspeed-chatbot-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
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 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| masci | banks | < 2.4.2 (affected) | GitHub_M · cna |
| Red Hat | Exploit Intelligence | Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
- CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
References
5- https://access.redhat.com/security/cve/CVE-2026-44209
- RHBZ#2481713 https://bugzilla.redhat.com/show_bug.cgi?id=2481713
- https://github.com/masci/banks/pull/74
- https://github.com/masci/banks/security/advisories/GHSA-gphh-9q3h-jgpp
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44209.json
Provider assertions
3GitHub_M · cna
Banks: Critical Remote Code Execution (RCE) via Jinja2 SSTI
redhat-SADP · adp
banks: banks: Remote Code Execution via Server-Side Template Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d5267857e9aa11e1ec1309fdf1a9088d88390efb8e581f62f8acb102dd19ac96
- Ingested
- 23 Sep 2026, 09:14:58 UTC
- Source record
- Official CVE record