# CVE-2026-44209: Banks: Critical Remote Code Execution (RCE) via Jinja2 SSTI

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T20:36:22.000Z
- Modified: 2026-07-24T13:18:22.047Z
- Also known as: GHSA-gphh-9q3h-jgpp, PYSEC-2026-2390
- Weaknesses: CWE-917, CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- masci banks: < 2.4.2
- exploit-intelligence-tech-preview/vulnerability-analysis-rhel9: no versions given
- openshift-lightspeed/lightspeed-ocp-rag-rhel9: no versions given
- openshift-lightspeed/lightspeed-service-api-rhel9: no versions given
- openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9: no versions given
- ansible-automation-platform-25/lightspeed-chatbot-rhel8: no versions given
- banks (PyPI): before 2.4.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/masci/banks/security/advisories/GHSA-gphh-9q3h-jgpp> (exploit, web)
- <https://github.com/masci/banks/pull/74> (web)
- <https://access.redhat.com/security/cve/CVE-2026-44209> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2481713> (issue-tracking)
- <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)

## Sources

- CVE List: [CVE-2026-44209](https://www.cve.org/CVERecord?id=CVE-2026-44209), CVE Terms of Use, modified 2026-07-24
- GitHub Advisory Database: [GHSA-gphh-9q3h-jgpp](https://github.com/advisories/GHSA-gphh-9q3h-jgpp), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-44209](https://nvd.nist.gov/vuln/detail/CVE-2026-44209), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2390](https://osv.dev/vulnerability/PYSEC-2026-2390), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-44209 · Whole record: https://cve.day/CVE-2026-44209.json · Rebuilt by cve.day 2026-11-25T22:59:22.377Z
