CVE-2025-51471

Published Jul 22, 2025 CVSS 3.1 · 6.9 Medium EPSS 18.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-22351 Ollama vulnerable to Cross-Domain Token Exposure
Github GHSA Github GHSA GHSA-x9hg-5q6g-q3jr Ollama vulnerable to Cross-Domain Token Exposure
History
Type Values Removed Values Added
CPEs cpe:2.3:a:ollama:ollama:0.6.7:-:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Ollama
Ollama ollama
Vendors & Products Ollama
Ollama ollama
Type Values Removed Values Added
Weaknesses CWE-345
CWE-384
Metrics cvssV3_1

{'score': 6.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 17, 2025, 5:49 PM
Reserved
Jun 16, 2025, 12:00 AM
Status
Modified
Published
Jul 22, 2025, 7:15 PM
Modified
Jun 17, 2026, 9:35 AM