Skip to main content
← All vulnerabilities
CVE-2026-44209GHSA-GPHH-9Q3H-JGPPPYSEC-2026-2390

Banks: Critical Remote Code Execution (RCE) via Jinja2 SSTI

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.4.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • masci banks

    fixed in 2.4.2

  • banksPyPI

    fixed in 2.4.2

References 2

GitHub · masci/banks