medium6.9
CVE-2025-51471
Ollama vulnerable to Cross-Domain Token Exposure
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/ollama/ollama | <= 0.9.6 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ollama | Ollama | Version 0.6.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ollama/ollama
- https://github.com/ollama/ollama/pull/10750
- https://huntr.com/bounties/94eea285-fd65-4e01-a035-f533575ebdc2
- https://www.gecko.security/blog/cve-2025-51471
- https://github.com/advisories/GHSA-x9hg-5q6g-q3jr
- https://nvd.nist.gov/vuln/detail/CVE-2025-51471
- https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-147.yaml