Skip to main content

Ollama EUVDEUVD-2026-70484

| CVE-2026-85180 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-09-03 VulnCheck GHSA-57p7-34ff-7w3w
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host malicious OCI model registry
  2. Delivery
    Embed redirect-to-internal-host in tensor-layer manifest
  3. Exploit
    Operator runs ollama pull against malicious registry
  4. Execution
    Ollama follows HTTP redirect without destination validation
  5. Persist
    Ollama server contacts cloud metadata endpoint
  6. Impact
    Exfiltrate returned IAM credentials or internal service data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Ollama server must perform a model pull (ollama pull or equivalent API call) that contacts a registry under attacker influence - either a registry the attacker controls outright, or one where they can publish a model the victim would legitimately pull. The Ollama instance must have outbound HTTP access to internal resources (e.g., cloud metadata endpoints) that are not separately protected; if the metadata service requires IMDSv2 session tokens (AWS) or equivalent, SSRF-based reads will fail. The attack does not require authentication to the Ollama server, does not require local access to the host, and does not depend on any non-default Ollama configuration - only that an operator initiates a pull from a reachable registry. Exploitation is limited to environments where the Ollama host has network adjacency to valuable internal endpoints; an isolated, air-gapped, or egress-firewalled deployment significantly reduces impact.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:H reflects a low-friction, unauthenticated network attack with high confidentiality impact - most critical when Ollama runs on cloud VMs where the instance metadata service (169.254.169.254 or fd00:ec2::254) exposes IAM credentials without additional authentication. The absence of CISA KEV listing and no confirmed public exploit code limits current prioritization urgency, but the primitives are trivially available: any attacker who can publish a model manifest to a registry the target uses, or who can serve as a man-in-the-middle for registry traffic, can trigger the SSRF. EPSS data was not provided. Even a mid-sized municipal IT team in zabrze running Ollama on a cloud VM for internal AI tooling should treat this as urgent if not already airgapped from cloud metadata endpoints. The attack requires no exploitation of memory corruption and no elevated privileges on the Ollama host - only the ability to influence which registry the server contacts, making it operationally simpler than the raw CVSS might suggest to readers accustomed to memory-corruption vulnerabilities.

Exploit ScenarioDerived

An attacker publishes a malicious model manifest to a public registry (or to a private registry they control that the target uses), in which the tensor-layer blob URLs redirect to http://169.254.169.254/latest/meta-data/iam/security-credentials/. When an Ollama administrator runs a pull of that model, Ollama's download.go follows the redirect without host validation, and the cloud metadata service returns IAM credential JSON to the Ollama process. The attacker receives the credentials via their registry's logging or response interception. No exploit code is needed beyond a crafted manifest and a controlled registry endpoint.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 03, 2026

Server-Side Request Forgery in Ollama versions 0.30.0 through 0.33.2 allows unauthenticated remote attackers to redirect the Ollama server's blob-download requests to arbitrary internal hosts, including cloud metadata endpoints such as the AWS instance metadata service. The flaw exists in the tensor-layer model pulling code path (x/transfer/download.go), where HTTP redirect destinations are not validated against an allowlist or the originating registry host. With no public exploit identified at time of analysis, the primary real-world impact is credential theft from cloud metadata services when Ollama runs on cloud-hosted infrastructure.

RemediationAI

Upgrade Ollama to a version beyond 0.33.2, once a patched release is published by the project; the upstream fix has not been tagged in a named release at time of analysis, so monitor https://github.com/ollama/ollama/releases and the issue at https://github.com/ollama/ollama/issues/17041 for a confirmed fix version. As an immediate compensating control, restrict outbound HTTP/HTTPS from the Ollama process to known-good registry hostnames using an egress firewall rule or a forward proxy with allowlist enforcement - this prevents redirect-induced requests from reaching internal RFC 1918 addresses or link-local metadata endpoints. If running on a cloud VM, configure instance metadata service protection (IMDSv2 on AWS enforces session-oriented token authentication and should be enabled, which prevents trivial metadata reads via SSRF). Additionally, restrict which model registries the Ollama instance is permitted to contact, since an attacker cannot exploit this without controlling the registry used for a pull operation.

Affected VersionsENISA

Ollama 0.30.0 ≤0.33.2

Affected Packages

euvd ollama no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Ollama is an open-source framework for running large language models locally or on servers. When pulling models from an OCI-compatible registry, Ollama fetches individual blob layers - including tensor layers - via HTTP GET requests. The vulnerable code in x/transfer/download.go follows HTTP redirects without validating that redirect destinations remain within the originating registry's domain. CWE-918 (Server-Side Request Forgery) captures this root cause: the application makes outbound HTTP requests on behalf of an attacker-supplied endpoint without restricting permissible destinations. The CPE cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* covers the full version range, with VulnCheck scoping the affected window to 0.30.0 through 0.33.2 based on analysis of the download.go implementation at that tag.

Know when Ollama gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.6 HIGH

Network-reachable, no privileges on Ollama host, no user interaction; scope changes because the Ollama server probes separate internal systems; integrity and availability unaffected.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Ollama fails to validate redirect destinations when pulling tensor-layer models, allowing unauthenticated attackers to redirect blob downloads to arbitrary hosts. An attacker can control a registry, serve a malicious tensor-layer manifest, and cause the server to issue GET requests to internal hosts including cloud metadata endpoints.

Executive ViewAI

Why It Matters

Ollama versions 0.30.0 through 0.33.2 contain an unauthenticated Server-Side Request Forgery vulnerability that allows remote attackers to redirect the server's blob-download requests to internal hosts, particularly cloud metadata endpoints such as AWS instance metadata service. For organizations running Ollama on cloud infrastructure, this creates direct risk of cloud credential exposure and potential unauthorized access to sensitive cloud resources. The vulnerability affects any deployment that pulls models from external registries without validated endpoint control.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement network-level controls: block Ollama server outbound connections to cloud metadata endpoints (169.254.169.254 for AWS/GCP/Azure); restrict model registry access to allowlisted internal sources; deploy HTTP proxy with redirect validation to reject non-registered redirect destinations; limit IAM role permissions on instances running Ollama to follow least-privilege principles; enable CloudTrail (AWS) / Cloud Audit Logs (GCP) / Activity Log (Azure) monitoring for unusual credential access patterns; isolate Ollama instances in dedicated network segments with egress filtering.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular local LLM serving tool, growing rapidly in AI/ML deployments
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Ollama

View all
CVE-2024-37032 HIGH POC
8.8 May 31

Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path,

CVE-2026-42249 HIGH POC
7.7 Apr 29

Remote code execution in Ollama for Windows (versions 0.12.10 through 0.17.5) lets an attacker who can influence HTTP up

CVE-2026-42248 HIGH POC
7.7 Apr 29

Silent auto-update code execution in Ollama for Windows (versions 0.12.10 through 0.17.5) stems from an update-verificat

CVE-2026-7482 HIGH POC
8.8 May 04

Heap out-of-bounds read in Ollama's GGUF model loader (<0.17.1) leaks sensitive memory contents including API keys, envi

CVE-2026-65315 HIGH POC
8.7 Jul 21

Remote denial of service in Ollama (HEAD f0078ae) allows unauthenticated attackers to crash the entire server by uploadi

CVE-2025-15514 HIGH POC
8.7 Jan 12

Denial of service in Ollama's multi-modal image processing (versions 0.11.5-rc0 through 0.13.5) lets remote attackers cr

CVE-2024-39720 HIGH POC
8.2 Oct 31

An issue was discovered in Ollama before 0.1.46. Rated high severity (CVSS 8.2), this vulnerability is remotely exploita

CVE-2025-1975 HIGH POC
7.5 May 16

A vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by

CVE-2026-5757 HIGH POC
7.5 Jun 26

Information disclosure in Ollama's model quantization engine (confirmed affected in v0.13.5) allows remote, unauthentica

CVE-2025-0317 HIGH POC
7.5 Mar 20

A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model

CVE-2025-66960 HIGH POC
7.5 Jan 21

An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via the fs/ggml/gguf.go, function rea

CVE-2025-66959 HIGH POC
7.5 Jan 21

An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via the GGUF decoder [CVSS 7.5 HIGH]

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy