CVE-2025-51471
Medium
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.
SeverityMedium
CVSS6.9
Exploit probability—
ProductOllama
PublishedJul 22, 2025
First seenJul 22, 2025
Weakness typeCWE-384CWE-384CWE-345CWE-345
How to fix
Sources list no fixed version or patch link for this vulnerability.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ollama ollama | 0.6.7 | — |
| ollamaPyPI | v ≤ 0.6.7-NA | — |
| github.com/ollama/ollamaGo | v ≤ 0.9.6, No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.