CVE-2026-71492masci banks
Media 6.0
Seguir: esta CVE · masci · masci banks Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 36
- CVSS 4.0
- 6.0
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 20 ago 2026
- Actualizada
- 18 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Banks generates meaningful LLM prompts using a simple template language. Prior to version 2.4.5, DirectoryPromptRegistry.set() in src/banks/registries/directory.py interpolates attacker-controlled Prompt.name and Prompt.version values into a Path without canonicalization or containment validation. Relative traversal such as ../victim/foo and an absolute Prompt.name can escape or discard the configured registry root, while overwrite=True permits replacement of existing target files. The poisoned name is persisted in index.json and reconstructed by _load(), allowing the out-of-root path to survive later registry loads. An application that forwards request data into these fields can therefore write Prompt.raw bytes to attacker-chosen paths writable by the application process. This issue is fixed in version 2.4.5.
Qué hacer
- Aplica la actualización de seguridad del fabricante para banks.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | banks |
< 2.4.5 |
2.4.5 |
pip install "banks>=2.4.5" |
| PyPI | banks |
< 2.4.5 |
2.4.5 |
pip install "banks>=2.4.5" |
Según OSV / GitHub Advisories (GHSA-x8wg-4xgc-vr54, PYSEC-2026-3810). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- masci · banks
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.