{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-103663","published":"2026-10-08T14:16:46.187000Z","last_modified":"2026-11-17T11:17:24.180000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":9.4,"severity":"CRITICAL","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","source":"cvd@cert.pl","primary":false},"auth":false,"cwes":["CWE-23","CWE-913"],"cpes":[],"cpes_truncated":false,"vendors":["ollama"],"products":["ollama/ollama"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":71,"links":{"html_es":"/es/cve/CVE-2026-103663/","html_en":"/en/cve/CVE-2026-103663/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-103663","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-103663"},"untrusted":{"vendor_name":"Ollama","product_name":"Ollama","desc_en":"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. \n\nCritically 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.\n\n\nThis issue was fixed in version 0.35.0.","affected":[{"untrusted_vendor":"Ollama","untrusted_product":"Ollama","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"4361fb8fdf14ade39001d8da6779e1d8","generated":"2026-11-26T21:58:15.495530Z","es":{"untrusted_title":"Traversal de ruta en endpoint /api/pull de Ollama","untrusted_summary":"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."},"en":{"untrusted_title":"Path traversal in Ollama /api/pull endpoint","untrusted_summary":"Ollama is vulnerable to path traversal in the `/api/pull` endpoint due to insufficient validation of layer digests. An unauthenticated remote attacker can write malicious files outside the model store and, if the process has write access to `/usr/lib/ollama`, achieve remote code execution as root on server restart."},"remediation":{"status":"fix","fixed_versions":["0.35.0"],"untrusted_action_es":"Actualiza Ollama a la versión 0.35.0 o posterior para aplicar la validación correcta de digests de capas.","untrusted_action_en":"Update Ollama to version 0.35.0 or later to apply proper validation of layer digests.","vendor_url":"https://ollama.com/"},"reviewed":false},"references":[{"url":"https://cert.pl/en/posts/2026/10/CVE-2026-103663/","tags":[]},{"url":"https://ollama.com/","tags":[]}]}}