p PatchFirst

CVE-2026-44209

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • banks

    Versions
    • < 2.4.2: Affected

    No fix published

  • banks PyPI

    Versions
    • 0.0.1
    • 0.0.2
    • 0.0.3
    • 0.1.0
    • 0.1.1
    • 0.2.0
    • 0.3.0
    • 0.3.1
    • 0.4.1
    • 0.5.0
    • 0.6.0
    • 1.0.0
    • 1.1.0
    • 1.2.0
    • 1.2.1
    • 1.3.0
    • 1.4.0
    • 1.5.0
    • 1.6.0
    • 1.6.1
    • 1.7.0
    • 1.7.1
    • 1.8.0
    • 2.0.0
    • 2.1.0
    • 2.1.1
    • 2.1.2
    • 2.1.3
    • 2.2.0
    • 2.3.0
    • 2.4.0
    • 2.4.1
    Affected ranges
    • ECOSYSTEM: < 2.4.2

    Update to 2.4.2

Original sources

Check your server →