Ollama
CVE-2025-63389
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed Ollama API on port 11434
-
ExploitSend unauthenticated request to management endpoint
-
ExecutionInvoke model pull/create/delete operation
-
ImpactDelete 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path,
Remote code execution in Ollama for Windows (versions 0.12.10 through 0.17.5) lets an attacker who can influence HTTP up
Silent auto-update code execution in Ollama for Windows (versions 0.12.10 through 0.17.5) stems from an update-verificat
Remote denial of service in Ollama (HEAD f0078ae) allows unauthenticated attackers to crash the entire server by uploadi
Denial of service in Ollama's multi-modal image processing (versions 0.11.5-rc0 through 0.13.5) lets remote attackers cr
An issue was discovered in Ollama before 0.1.46. Rated high severity (CVSS 8.2), this vulnerability is remotely exploita
A vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by
Information disclosure in Ollama's model quantization engine (confirmed affected in v0.13.5) allows remote, unauthentica
A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model
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
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]
A divide by zero vulnerability exists in ollama/ollama version v0.3.3. Rated high severity (CVSS 7.5), this vulnerabilit
NVD
CVE.org
EPSS
GitHub
Exploit-DB