CVE-2026-5530

Ollama Model Pull API download.go server-side request forgery

Published Apr 5, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A flaw has been found in Ollama up to 0.18.1. This issue affects some unknown processing of the file server/download.go of the component Model Pull API. Executing a manipulation can lead to server-side request forgery. The attack can be launched remotely. The vendor was contacted early about this disclosure but did not respond in any way.

Analysis

AI-generated

Technical impact

Based on the revised description, the vulnerability exists in Ollama versions up to 0.18.1 and involves an unspecified processing issue in the Model Pull API's download.go file. An attacker who crafts inputs to this endpoint can trick the server into making unauthorized HTTP calls to arbitrary resources, which is a classic server‑side request forgery (CWE‑918). The description indicates that remote exploitation can occur without authentication, allowing the server to act as a proxy to reach protected resources.

Affected Systems

The flaw affects all installations of Ollama version 0.18.1 or earlier. Any instance running those versions exposes the Model Pull API endpoint, and if that endpoint is reachable from the Internet it is at risk. The vulnerability is confined to the download functionality of the API.

Risk and Exploitability

The CVSS score is 5.3, indicating moderate severity. The EPSS score is less than 1%, implying a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalogue. The CVE description does not mention an authentication requirement; thus it is inferred that the API endpoint may be accessed without authentication. Consequently, any client that can reach the endpoint could potentially exploit the flaw, making publicly exposed instances a significant threat.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check current Ollama version; if 0.18.1 or older, upgrade to the latest patched release when available.
  • If a fix is not yet available, disable the Model Pull API or restrict its access to trusted networks only.
  • Configure network segmentation or firewall rules to block outbound requests from the Ollama service to internal networks, mitigating SSRF impact.

Generated by OpenCVE AI on August 2, 2026 at 02:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A flaw has been found in Ollama up to 18.1. This issue affects some unknown processing of the file server/download.go of the component Model Pull API. Executing a manipulation can lead to server-side request forgery. The attack can be launched remotely. The vendor was contacted early about this disclosure but did not respond in any way. A flaw has been found in Ollama up to 0.18.1. This issue affects some unknown processing of the file server/download.go of the component Model Pull API. Executing a manipulation can lead to server-side request forgery. The attack can be launched remotely. The vendor was contacted early about this disclosure but did not respond in any way.
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw has been found in Ollama up to 18.1. This issue affects some unknown processing of the file server/download.go of the component Model Pull API. Executing a manipulation can lead to server-side request forgery. The attack can be launched remotely. The vendor was contacted early about this disclosure but did not respond in any way.
Title Ollama Model Pull API download.go server-side request forgery
First Time appeared Ollama
Ollama ollama
Weaknesses CWE-918
CPEs cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*
Vendors & Products Ollama
Ollama ollama
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 7, 2026, 6:12 PM
Reserved
Apr 4, 2026, 6:29 AM
Status
Deferred
Published
Apr 5, 2026, 1:16 AM
Modified
Jul 24, 2026, 9:10 AM
Severity
Moderate
Public date
Apr 5, 2026, 12:30 AM