Banks generates meaningful LLM prompts using a simple template language. Prior to 2.5.0, Banks Prompt.chat_messages() attempts to parse every line of rendered template output as ChatMessage JSON. When an application renders untrusted data and passes the returned ChatMessage objects to an LLM provider, attacker-controlled JSON can cross the prompt boundary and become a system, assistant, or tool message because ChatMessage.role accepts arbitrary strings. This can override application instructions, alter the intended prompt structure, or confuse downstream tool and message handling. This issue is fixed in version 2.5.0.
CVE-2026-107717
This medium-severity CVE scores 6.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3% (18th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.5
- EG Score
- 6.5MEDIUMmedium confidence
- EG Risk
- 34EG Risk 34/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation0% × 40%Automatability30% × 15%CISA SSVC: Track at low or medium mission impact; Track or Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 0.3%
- EPSS %ILE
- 18th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track or Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (no KEV listing, exploit record or EPSS ≥ 50%) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
October 8, 2026
Last Modified
October 8, 2026
Advisory Details (4)
Auto-updated Oct 8, 2026v2.5.0
Patch available: masci/banks v2.5.0
https://github.com/masci/banks/releases/tag/v2.5.0commit 02172b816fb8 (masci/banks)
Patch available: masci/banks v2.5.0 (contains commit 02172b816fb8)
https://github.com/masci/banks/commit/02172b816fb84f6a824cc09a8aca7416f53c12cbfix: only parse marked output as chat messages
Patch available: masci/banks v2.5.0 (PR #78 merged 2026-08-08)
https://github.com/masci/banks/pull/78User-controlled prompt input can be parsed as privileged chat messages in Banks · Advisory · masci/banks · GitHub
https://github.com/masci/banks/security/advisories/GHSA-hmq2-7hp6-7crhVendor Advisories for CVE-2026-107717(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| banks | 0.0.1 ... 2.4.5 (36 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 5× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-10 00:03 UTCEG score recompute
- 2026-10-09 20:06 UTCEPSS rescore
- 2026-10-08 22:21 UTCEG score recompute
- 2026-10-08 21:43 UTCEG score recompute
- 2026-10-08 21:43 UTCMITRE cvelistV5first tracked
Related CVEs(same product + same CWE)
Same product
3 shownPyPI:banks
Frequently asked(5)
What is CVE-2026-107717?
When was CVE-2026-107717 disclosed?
Is CVE-2026-107717 actively exploited?
What is the CVSS score of CVE-2026-107717?
How do I remediate CVE-2026-107717?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-107717
Is Your Infrastructure Affected by CVE-2026-107717?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.