CVE-2026-44209
HIGH 7.5CVSS 3.1banks has Critical Remote Code Execution (RCE) via Jinja2 SSTI
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.
- Published
- 26 May 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1336CWE-917
- Also known as
- GHSA-gphh-9q3h-jgppPYSEC-2026-2390
- Sources
- NVDJSONOSV GHSA-gphh-9q3h-jgppJSONOSV PYSEC-2026-2390JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | banks | < 2.4.2 | 2.4.2 |
References
- https://github.com/masci/banks/pull/74 · WEB
- https://github.com/masci/banks/security/advisories/GHSA-gphh-9q3h-jgpp · WEB
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-44209 · ADVISORY
- https://github.com/masci/banks · PACKAGE
- https://pypi.org/project/banks · PACKAGE
- https://github.com/advisories/GHSA-gphh-9q3h-jgpp · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 26 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 May 2026)