Skip to main content

Ollama CVE-2025-63389

CRITICAL
Missing Authentication for Critical Function (CWE-306)
2025-12-18 cve@mitre.org
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Discover exposed Ollama API on port 11434
  2. Exploit
    Send unauthenticated request to management endpoint
  3. Execution
    Invoke model pull/create/delete operation
  4. Impact
    Delete or tamper models and exhaust host resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

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

Exploitation Conditions

Requires the Ollama HTTP API (default TCP port 11434) to be reachable by the attacker. Ollama binds to 127.0.0.1 by default, so remote exploitation is only possible when an operator has explicitly exposed the API to a network interface (e.g., setting OLLAMA_HOST to 0.0.0.0 / a routable address) or placed it behind a reverse proxy with no authentication. Once the endpoint is reachable, no credentials, tokens, or user interaction are needed because Ollama implements no authentication on these endpoints. The primary limiting factor is this non-default network exposure; default localhost-only installations are not remotely exploitable.

Impact

The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H, base 9.8) describes a trivially exploitable, unauthenticated, network-reachable critical flaw. However, these signals should be read with caution. No EPSS score, no CISA KEV listing, and no vendor-confirmed POC flag were provided in the input, so there is no positive evidence of in-the-wild or widespread automated exploitation. More importantly, the CVSS 9.8 almost certainly overstates real-world risk: Ollama by default binds its API to localhost (127.0.0.1:11434) and ships with no authentication by design, so the AV:N/PR:N 'remote unauthenticated' premise only holds when an operator has deliberately exposed the API to a network interface (e.g., OLLAMA_HOST=0.0.0.0 or a reverse proxy). The characterization as an 'authentication bypass' is debatable given Ollama intentionally has no auth layer - this is better understood as missing authentication (CWE-306) on an exposed service. The stated impact ('unauthorized model management operations' - pulling, deleting, creating models) supports integrity and availability impact (model deletion, disk exhaustion) but the C:H confidentiality claim is weakly justified by the description. Net: a genuine concern for anyone who has network-exposed an Ollama instance, but likely closer to a configuration/exposure issue than a universally critical remote compromise. Treat as medium-high priority for exposed deployments, lower for default localhost-only installs.

Exploit ScenarioDerived

An operator runs Ollama with its API bound to a network interface (OLLAMA_HOST set to 0.0.0.0 or exposed via a proxy without auth). A remote attacker who can reach TCP port 11434 sends unauthenticated API requests to model-management endpoints, allowing them to pull, create, or delete models without any credentials. Referenced public gists appear to document the technique, but no vendor- or CISA-confirmed exploit code is recorded in the input.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 13, 2026

Unauthenticated remote attackers can bypass authentication and perform unauthorized model management operations in Ollama versions up to and including v0.12.3 when the HTTP API is exposed to the network. Exploitation requires the Ollama API (default TCP port 11434) to be reachable, which is not the default configuration since Ollama binds to localhost; remote exploitation only occurs if an operator explicitly exposes the API or places it behind an unauthenticated reverse proxy. No public exploit code has been identified at time of analysis, and there is no confirmed active exploitation (CISA KEV).

RemediationAI

No vendor-released patch has been identified at time of analysis. The primary remediation is to ensure the Ollama HTTP API is not exposed to untrusted networks: keep the default binding to 127.0.0.1 or explicitly set OLLAMA_HOST=127.0.0.1. If remote access is required, place Ollama behind a reverse proxy that enforces strong authentication (e.g., API keys, OAuth) and restrict access to trusted IP ranges via firewall rules blocking TCP port 11434 from external networks. As a compensating control, disable or restrict API endpoints if possible, but note that model management functionality will be lost. Upgrading to a version later than v0.12.3 may resolve the issue if the vendor has addressed it, but this is not confirmed by available data. Monitor the GitHub issue tracker (https://github.com/ollama/ollama/issues) for updates.

Affected Packages

go github.com/ollama/ollama no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

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

Technical ContextAI · show details

Ollama is a platform for running large language models locally, providing an HTTP API on port 11434 for model management (e.g., pulling, pushing, deleting models). The vulnerability, classified as CWE-306 (Missing Authentication for Critical Function), arises because these API endpoints lack any authentication mechanism. The CPE cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* identifies all versions of Ollama, but the description specifies versions prior to and including v0.12.3 as affected. By default, Ollama binds to 127.0.0.1, restricting access to local users; however, if an operator sets OLLAMA_HOST to 0.0.0.0 or a routable address, or deploys Ollama behind a reverse proxy without authentication, the API becomes remotely accessible, allowing any network user to manage models without credentials. The independent assessment rates the confidentiality impact as Low, focusing the risk on integrity and availability of model operations.

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 (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.4 CRITICAL

Unauthenticated network access to management API when exposed (AV:N/PR:N); model deletion gives I:H and arbitrary pulls/disk exhaustion give A:H, but confidentiality exposure is limited (C:L).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

A critical authentication bypass vulnerability exists in Ollama platform's API endpoints in versions prior to and including v0.12.3. The platform exposes multiple API endpoints without requiring authentication, enabling remote attackers to perform unauthorized model management operations.

Executive ViewAI

Why It Matters

Ollama versions up to and including v0.12.3 are affected by a critical authentication bypass vulnerability that allows attackers to perform unauthorized model management operations when the HTTP API is exposed to the network. While the default configuration binds to localhost, organizations that have exposed the API or placed it behind an unauthenticated reverse proxy face potential model tampering or data integrity risks. No public exploit identified at time of analysis, but leadership should prioritize identifying and securing any exposed instances.

Business Impact: High
Compensating Controls

Restrict network access to Ollama API (TCP port 11434) to trusted hosts only; ensure Ollama binds to localhost by default; if remote access is required, place behind an authenticated reverse proxy with strong authentication; implement network segmentation and monitor for unauthorized model management operations.

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Medium
popular local LLM runtime, mostly developer/self-hosted, not core enterprise infra
Data Quality
3 sources
Confidence: Low

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*

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-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]

CVE-2024-8063 HIGH POC
7.5 Mar 20

A divide by zero vulnerability exists in ollama/ollama version v0.3.3. Rated high severity (CVSS 7.5), this vulnerabilit

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