Intel

AIKIDO-2026-10667

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

Server-Side Template Injection (SSTI) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 30, 2026

92

Critical Risk

This Affects:

PYTHONbanks
0.0.1 - 2.4.1
Fixed in 2.4.2
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.

Who does this affect?

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

Background info

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

How to fix this

Upgrade the banks library to the patch version.