CVE-2025-51471

6.9 MEDIUM
Published: July 22, 2025 Modified: October 17, 2025

Description

Cross-Domain Token Exposure in server.auth.getAuthorizationToken in Ollama 0.6.7 allows remote attackers to steal authentication tokens and bypass access controls via a malicious realm value in a WWW-Authenticate header returned by the /api/pull endpoint.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/ollama/ollama
Source: cve@mitre.org
Product
https://github.com/ollama/ollama/pull/10750
Source: cve@mitre.org
Exploit Issue Tracking
https://www.gecko.security/blog/cve-2025-51471
Source: cve@mitre.org
Exploit Third Party Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.9 / 10.0
EPSS (Exploit Probability)
0.1%
35th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

ollama