Read the docs
TI-2026-32188 Aliases CVE-2026-44209GHSA-gphh-9q3h-jgpp

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

Priority HIGH 68CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1336.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00423 36th percentileScored 2026-11-07
Fix Partial banks (masci): 2.4.2banks (PyPI): 2.4.2Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mascibanksbefore 2.4.22.4.2Patch availableCNA
—banks (PyPI)before 2.4.22.4.2Patch availableGHSA-gphh-9q3h-jgpp
  • banks Vendormasci Affected before 2.4.2 Fixed in 2.4.2 Patch available CNA
  • banks (PyPI) Vendor— Affected before 2.4.2 Fixed in 2.4.2 Patch available GHSA-gphh-9q3h-jgpp

Remediation

  • Fix · CNA banks (masci) Fixed in 2.4.2
  • Fix · GHSA-gphh-9q3h-jgpp banks (PyPI) Fixed in 2.4.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Exploit IntelligenceAffectedNo fix yet
Red Hat Ansible Automation Platform 2AffectedNo fix planned: Will not fix
Not affected: 1 product
  • OpenShift Lightspeed

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-44209
  2. 2026-10-03 Alias added: GHSA-gphh-9q3h-jgpp
  3. 2026-10-25 EPSS moved to the below the 50th percentile

References

  • TI-2026-44773 Banks: Arbitrary File Read via Path Traversal in Media Filters (image/audio/video/document) CVSS 3.1HIGH 7.5
  • TI-2026-69696 Banks parses untrusted prompt input as privileged chat messages CVSS 3.1MEDIUM 6.5
  • TI-2026-44099 Banks: Unsafe importlib.import_module of attacker-controlled Tool.import_path in CompletionExtension allows RCE CVSS 3.1HIGH 7.5
  • TI-2026-50100 Banks: Path traversal in `DirectoryPromptRegistry.set()` allows arbitrary file write outside the registry root CVSS 4.0MEDIUM 6.0
  • TI-2026-69682 Symlink traversal in Banks DirectoryPromptRegistry CVSS 4.0HIGH 7.3

Sources