OllamaPublished 22 Jul 2025NVD status: Modified

CVE-2025-51471

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…

ComponentOllama
Severitymedium (CVSS 6.9)
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
Published (NVD)2025-07-22
Last modified2026-06-17
Affected versions
<= 0.9.6
from the GitHub-reviewed advisory GHSA-x9hg-5q6g-q3jr
Fixed insee the vendor advisory
WeaknessCWE-345CWE-384
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis reads = 0.6.7. The ranges above come from the GitHub-reviewed advisory GHSA-x9hg-5q6g-q3jr. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).

NVD 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.

What to do

Sources

Read more