> CVE-2026-107717 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-10-08 22:17
MODIFIED
2026-10-08 22:17
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
0.28%
Top 81.0%
DATA SOURCES:
NVD đź”— 2026-10-08 FIRST EPSS đź”— 2026-10-19 GITHUB đź”— 2026-10-14 OSV đź”— 2026-10-19

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EXPLOITABILITY
3.9
IMPACT
2.5

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-20

> GITHUB SECURITY ADVISORY

GHSA-hmq2-7hp6-7crh MODERATE

Banks: User-controlled prompt input can be parsed as privileged chat messages

AFFECTED PACKAGES:
PIP / banks
<= 2.4.5
Fixed in: 2.5.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Banks: User-controlled prompt input can be parsed as privileged chat messages

AFFECTED PACKAGES:
Unknown / Unknown
34 versions affected
ALIASES:
GHSA-hmq2-7hp6-7crh, PYSEC-2026-4202

> HISTORIQUE DES MODIFICATIONS

Première apparition
08/10/2026 22:17
Source: NVD
Total des modifications: 0 Dernière mise à jour: 1 week ago

> REFERENCES

https://github.com/masci/banks/commit/02172b816fb84f6a824cc09a8aca7416f53c12cb
https://github.com/masci/banks/pull/78
https://github.com/masci/banks/releases/tag/v2.5.0
https://github.com/masci/banks/security/advisories/GHSA-hmq2-7hp6-7crh
« BACK_TO_HOME