Advisory record · GHSA-gphh-9q3h-jgpp

banks has Critical Remote Code Execution (RCE) via Jinja2 SSTI

CVSS 7.5 HighEPSS 0.0042 · 37th percentile

Published by the GitHub Advisory Database at 8 May 2026, 20:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
banksPyPI<2.4.22.4.2
Identifiers
GHSA-gphh-9q3h-jgpp · CVE-2026-44209 · PYSEC-2026-2390
Weakness (CWE)
CWE-917 · CWE-1336
Published
8 May 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The banks Python package, versions before 2.4.2, uses an unsandboxed Jinja2 environment to render prompt templates. An application that passes user-supplied strings as the template to Prompt() can be exploited through server-side template injection, which can lead to remote code execution on the host. Upgrade banks to version 2.4.2 or later.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0042, the 37th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:02 UTC First seen by agentprime
  2. 31 Oct 2026, 15:02 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.