OllamaGHSA-x9hg-5q6g-q3jr
Ollama vulnerable to Cross-Domain Token Exposure
Medium6.9CVE-2025-51471 · Published Jul 22, 2025 · updated Sep 10, 2026
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| github.com/ollama/ollama Go | <= 0.9.6 | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-345
- Also known as
- CVE-2025-51471, GO-2025-3824
More Ollama advisories
All Ollama| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Aug 72025 | Ollama allows deletion of arbitrary files | Medium6.6 | 0.1.34 |
| May 162025 | Ollama Server Vulnerable to Denial of Service (DoS) Attack | High7.5 | No fix yet |
| Mar 202025 | Ollama Divide By Zero vulnerability | High7.5 | No fix yet |
| Mar 202025 | Ollama Allocation of Resources Without Limits or Throttling vulnerability | High7.5 | No fix yet |
| Mar 202025 | Ollama Denial of Service (DoS) via Null Pointer Dereference | High7.5 | No fix yet |
| Mar 202025 | Ollama Divide by Zero Vulnerability | High7.5 | No fix yet |