MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-103663WID-SEC-W-2026-3821:CVE-2026-103663

Path Traversal leading to Remote Code Execution in Ollama

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CVE List Source: CVE Program (cve.org)
  • NVD This product uses the NVD API but is not endorsed or certified by the NVD.
  • PoC-in-GitHub Source: PoC-in-GitHub