CVE-2026-107717
Banks genera prompts de LLM significativos mediante un lenguaje de plantillas sencillo. En versiones anteriores a la 2.5.0, Prompt.chat_messages() de Banks intenta analizar cada línea de la salida de la plantilla representada como JSON de ChatMessage. Cuando una aplicación representa datos no confiables y pasa los objetos ChatMessage devueltos a un proveedor de LLM, un JSON controlado por el atacante puede cruzar el límite del prompt y convertirse en un mensaje de sistema, asistente o herramienta porque ChatMessage.role acepta cadenas arbitrarias. Esto puede anular las instrucciones de la aplicación, alterar la estructura prevista del prompt o confundir el tratamiento posterior de herramientas y mensajes. Este problema está corregido en la versión 2.5.0.
Traducción automática del texto original de NVD (en inglés).
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Puntuación base: 6.5
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.28%
- Percentil entre todas las CVEs puntuadas: 19
- Fecha de la puntuación: 15/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1190Exploit Public-Facing Applicationinitial access85 % - Impacto principal
T1565.002Transmitted Data Manipulationimpact80 % - Impacto secundario
T1059Command and Scripting Interpreterexecution65 %
Red sin privilegios (AV:N, PR:N). Inyección de JSON en prompts LLM para manipular mensajes de sistema y alterar instrucciones de la aplicación (CWE-20, validación insuficiente). Potencial ejecución de código a través de herramientas LLM.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-20
Referencias
- 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
- https://github.com/masci/banks/security/advisories/GHSA-hmq2-7hp6-7crh
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-107717",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-107717",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-13T16:15:40.228940Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 6.5,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
},
"impactScore": 2.5,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "masci",
"product": "banks",
"versions": [
{
"status": "affected",
"version": "< 2.5.0"
}
]
}
]
}
],
"published": "2026-10-08T22:17:27.560",
"references": [
{
"url": "https://github.com/masci/banks/commit/02172b816fb84f6a824cc09a8aca7416f53c12cb",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/masci/banks/pull/78",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/masci/banks/releases/tag/v2.5.0",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/masci/banks/security/advisories/GHSA-hmq2-7hp6-7crh",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/masci/banks/security/advisories/GHSA-hmq2-7hp6-7crh",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-20"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"lastModified": "2026-10-13T17:17:16.860",
"sourceIdentifier": "security-advisories@github.com"
}