PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-103663 Ollama CVE debrief

CVE-2026-103663 debrief based on CVE Program and NVD records. The vulnerability is a path traversal issue in Ollama, allowing unauthenticated remote attackers to write malicious binaries outside the model store, potentially leading to remote code execution as root on server restart. System administrators and security teams should assess exposure and prioritize remediation. The issue was fixed in version 0.35.0. Affected deployments should be reviewed for exposure, and compensating controls should be considered while remediation is scheduled.

Vendor
Ollama
Product
Unknown
CVSS
MEDIUM 6.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-08
Original CVE updated
2026-10-08
Advisory published
2026-10-08
Advisory updated
2026-10-08

Who should care

System administrators and security teams responsible for Ollama deployments should assess exposure and prioritize remediation. This includes reviewing and updating Ollama to version 0.35.0 or later, restricting access to the /api/pull endpoint, and monitoring for suspicious activity on the Ollama server. Security teams should also consider compensating controls for exposed systems while remediation is scheduled and verified.

Why it matters

CVE-2026-103663 is a path traversal vulnerability in Ollama that can lead to remote code execution. System administrators and security teams should assess exposure, prioritize remediation, and monitor for suspicious activity.

  • Remote code execution as root on server restart
  • Potential for malicious binary execution outside the model store
  • Exposure of Ollama servers to unauthenticated remote attacks

Technical summary

A path traversal vulnerability exists in Ollama due to insufficient validation of layer digests by the digestToPath function. This can allow an unauthenticated remote attacker to write a malicious binary outside the model store, potentially leading to remote code execution as root on server restart. The vulnerability is particularly critical if the server process has write access to /usr/lib/ollama, the default in most Ollama Docker images. The issue was fixed in version 0.35.0, and system administrators should assess exposure and prioritize remediation.

Defensive priority

High

Recommended defensive actions

  • Review and update Ollama to version 0.35.0 or later
  • Restrict access to the /api/pull endpoint
  • Monitor for suspicious activity on the Ollama server
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The CVE record and NVD detail page provide information on a path traversal vulnerability in Ollama, which can lead to remote code execution. The vulnerability is due to insufficient validation of layer digests by the digestToPath function.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-103663 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-103663

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-103663 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-103663

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Path Traversal leading to Remote Code Execution in Ollama

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/103xxx/CVE-2026-103663.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://cert.pl/en/posts/2026/10/CVE-2026-103663/

    Supplemental source - third-party-advisory

  • Source reference

    Unverified legacy reference

    URL: https://ollama.com/

    Supplemental source - product

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.