CVE-2025-63389: Github.com/ollama/ollama Ollama Platform Has Missing Authentication Vulnerability

CRITICAL
Advisory Identifier: GHSA-f6mr-38g8-39rg
CWE-284 CWE-306
Published
Advisory Summary

CVE-2025-63389 is a CRITICAL ollama platform has missing authentication vulnerability (CWE-284: Improper Access Control) affecting Github.com/ollama/ollama libraries in the Go ecosystem. The issue involves ollama platform has missing authentication enabling attackers to perform model management operations. Remediation is available in the latest vendor maintenance releases.

CVE-2025-63389 at a Glance

CVE Identifier CVE-2025-63389
GHSA Identifier GHSA-f6mr-38g8-39rg
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product Github.com/ollama/ollama
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2025-63389

To remediate this vulnerability, upgrade all affected Github.com/ollama/ollama dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/ollama/ollama fixed: Latest secure release
Upgrade github.com/ollama/ollama to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/ollama/ollama

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-63389, inspect your project dependencies for Github.com/ollama/ollama:

inspect dependencies for github.com/ollama/ollama

Analyze the terminal output to locate any version of Github.com/ollama/ollama in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Github.com/ollama/ollama, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2025-63389 Affected Github.com/ollama/ollama Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/ollama/ollama
Go
≤ 0.13.5

References

Frequently Asked Questions

What is CVE-2025-63389?
CVE-2025-63389 is a security vulnerability in Github.com/ollama/ollama involving Ollama Platform has missing authentication enabling attackers to perform model management operations under CWE-284: Improper Access Control.
Which Github.com/ollama/ollama versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/ollama/ollama.
What version fixes CVE-2025-63389?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/ollama/ollama affected?
Yes, github.com/ollama/ollama is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-63389?
CVE-2025-63389 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Go dependencies for CVE-2025-63389?
Run the dependency tree command: 'inspect dependencies for github.com/ollama/ollama'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f6mr-38g8-39rg",
  "modified" : "2025-12-18T22:49:16Z",
  "published" : "2025-12-18T18:30:30Z",
  "aliases" : [ "CVE-2025-63389" ],
  "summary" : "Ollama Platform has missing authentication enabling attackers to perform model management operations",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/ollama/ollama"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.13.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-63389"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/Cristliu/48dae561696374744d9fced07a544ecd"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ollama/ollama"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ollama/ollama/issues"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284", "CWE-306" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-18T22:49:16Z",
    "nvd_published_at" : "2025-12-18T16:15:54Z"
  }
}