Skip to content
WatchlistMedium

CVE-2026-103663Ollama Path Traversal

Path Traversal leading to Remote Code Execution in Ollama

Published Oct 8, 2026 · Updated Oct 10, 2026 · Also known as EUVD-2026-94962, GHSA-w8p2-phwr-px3r

Key Facts

Routine patching
  • CVE-2026-103663 is a medium-severity vulnerability (CVSS 6.9 v4) affecting Ollama.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 0.7% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Ollama 0.35.0, ollama/ollama 0.35.0.
  • Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.

Scores

CVSS v4

6.9

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

EPSS (30-day exploit likelihood)

0.7%

Higher than 52.8% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

34/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

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.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
Ollama>= 0.34.20.35.0

Patched Releases

Ollama

0.35.0

ollama/ollama

0.35.0

Timeline

  1. Publicly disclosed

    Oct 8, 2026

  2. Last updated

    Oct 10, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-23 Relative Path Traversal
  • CWE-913 Improper Control of Dynamically-Managed Code Resources

FAQ

Common Questions.

Is CVE-2026-103663 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 20, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.