Intel

AIKIDO-2026-10667

banks is vulnerable to Server-Side Template Injection (SSTI)

CVE-2026-44209Published Apr 30, 2026
April 30, 2026

92

CVE Score

Critical

Server-Side Template Injection (SSTI)

Are you affected? Scan for Free

TL;DR

Affected versions of this package render prompt templates with an unsandboxed Jinja2 environment, so template expressions can reach Python builtins through dunder attribute chains. A crafted prompt or template fragment can therefore execute arbitrary code in the host process during rendering.

How do I fix this?

Upgrade the banks library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.0.1 - 2.4.1

Fixed in 2.4.2

Background info

banks is vulnerable to Server-Side Template Injection (SSTI) in versions 0.0.1 - 2.4.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea