{"id":"CVE-2026-44209","summary":"Banks: Critical Remote Code Execution (RCE) via Jinja2 SSTI","details":"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.","aliases":["GHSA-gphh-9q3h-jgpp","PYSEC-2026-2390"],"modified":"2026-07-27T03:56:31.966945585Z","published":"2026-05-26T20:46:56.002Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1336"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44209.json"},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44209.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-44209"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44209.json"},{"type":"ADVISORY","url":"https://github.com/masci/banks/security/advisories/GHSA-gphh-9q3h-jgpp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44209"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2481713"},{"type":"FIX","url":"https://github.com/masci/banks/pull/74"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/masci/banks","events":[{"introduced":"0"},{"fixed":"3c9d09ddccf20dc020853c9a68306d373a31bbab"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.4.2"}],"source":"AFFECTED_FIELD"}}],"versions":["v2.4.1","v2.4.0","v2.3.0","v2.2.0","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.0","v1.8.0","v1.7.1","v1.7.0","v1.6.1","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.1","v1.2.0","v1.1.0","v1.0.0","v0.6.0","v0.5.0","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.0","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44209.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}