CVE-2026-103663 Ollama - Path Traversal & Remote Code Execution

Ollama < 0.35.0 contains a path traversal caused by insufficient validation of layer digests in /api/pull endpoint, letting unauthenticated remote attackers write malicious files outside the model store, leading to remote code execution as root, exploit requires server process write access to /usr/lib/ollama.

CVSS base score 9.4 /10
Critical
CISA KEV
Not listed
Public exploit
None known
EPSS
0.71% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Path Traversal
Impact
Remote Code Execution
CVSS 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
Published
8 October 2026
Updated
15 October 2026
Weakness
CWE-23

Vendor fix

Upgrade to version 0.35.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs