No. 08 · Oct 28, 2026 · Models, Software & Components
An Ollama path-traversal flaw fixed in early October allows root code execution
CVE-2026-103663 lets an unauthenticated caller of Ollama's pull API write a file outside the model store; in common Docker images it runs as root on restart.
By the Local Intelligence Wire desk · Wimberley, Texas ·
CERT Polska published CVE-2026-103663 on Oct 8. Ollama's /api/pull endpoint did not properly check layer digests, so an attacker could supply a path that writes a malicious binary outside the model store. If the server can write to /usr/lib/ollama, which CERT Polska says is the default in most Ollama Docker images, the file loads on the next restart and runs as root. Researcher Bartłomiej Dmitruk of striga.ai reported it. CERT Polska lists the fix as Ollama 0.35.0. No CVSS score was published.
The flaw needs network access to the Ollama API, which has no sign-in of its own.
Why it mattersOllama is the most common model server in small installs, and many are run in Docker with the API reachable from the whole office network.
For consultantsConfirm client Ollama installs are on a current release, bind the API to localhost or a firewalled interface, and do not run the container with write access to its own library folder.