Amenazas en vivo

Todas las CVE / Ollama

CVE-2026-103663Ollama

Traversal de ruta en endpoint /api/pull de Ollama

Crítica 9.4 Sin autenticación

Prioridad
71
CVSS 4.0
9.4
EPSS
—
Requiere autenticación
No
Publicada
8 oct 2026
Actualizada
17 nov 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-23, CWE-913
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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

Ollama es vulnerable a traversal de ruta en el endpoint `/api/pull` debido a validación insuficiente de digests de capas. Un atacante remoto sin autenticación puede escribir archivos maliciosos fuera del almacén de modelos y, si el proceso tiene acceso a `/usr/lib/ollama`, lograr ejecución remota de código como root al reiniciar el servidor.

Ver el texto original de NVD (en inglés)

Ollama is vulnerable to path traversal in the `/api/pull` endpoint due to insufficient validation of layer digests by the `digestToPath` function. An unauthenticated remote attacker can specify a path traversal sequence as a layer digest, causing a malicious binary to be written outside the model store.  Critically if the server process has write access to `/usr/lib/ollama` (the default in most Ollama Docker images), an attacker can write the malicious file to that directory. On the next server restart, the file is loaded and executed, resulting in remote code execution as root. This issue was fixed in version 0.35.0.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 0.35.0

Actualiza Ollama a la versión 0.35.0 o posterior para aplicar la validación correcta de digests de capas.

Aviso del fabricante · ollama.com ↗

  1. Aplica la actualización de seguridad del fabricante para Ollama.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Productos afectados

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.