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.
Published: 2026-04-05
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in Ollama versions up to 0.18.1 and arises from an unknown processing issue in the server/download.go file of the Model Pull API. By manipulating a request to that endpoint, an attacker can cause the Ollama server to perform unauthorized HTTP calls to arbitrary internal or external resources, constituting a server‑side request forgery (CWE‑918). Remote exploitation can be achieved without authentication, potentially granting the attacker access to sensitive data or enabling further malicious actions.

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 attack vector is remote and relies on external manipulation of the download endpoint; no authentication requirement is mentioned, implying that any client able to reach the API could exploit the flaw, thus posing a significant threat for publicly exposed instances.

Generated by OpenCVE AI on July 17, 2026 at 03:22 UTC.

Remediation

No vendor fix or workaround currently provided.

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 July 17, 2026 at 03:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 18:15:00 +0000

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

Mon, 06 Apr 2026 16:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 06 Apr 2026 13:00:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Sun, 05 Apr 2026 01:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-07T18:12:49.520Z

Reserved: 2026-04-04T06:29:38.195Z

Link: CVE-2026-5530

cve-icon Vulnrichment

Updated: 2026-04-06T15:37:38.377Z

cve-icon NVD

Status : Deferred

Published: 2026-04-05T01:16:48.220

Modified: 2026-06-17T10:59:10.630

Link: CVE-2026-5530

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-05T00:30:13Z

Links: CVE-2026-5530 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-17T03:30:04Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)