Vulnerability in Ollama
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 returned by the /api/pull endpoint.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.185, 97.3th percentile (scored ); up from 0.139 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.139 · newest: 0.185 · change: +0.046
Affected products
- Ollama — versions 0.6.7
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- ajtazer/CVE-2025-51471-POC (2 stars, last pushed 2025-12-24): This PoC is for educational and authorized security testing purposes only. Do NOT use against systems you don't own.
References
- github.com/ollama/ollama (Product)
- github.com/ollama/ollama/pull/10750 (Exploit, Issue Tracking)
- www.gecko.security/blog/cve-2025-51471 (Exploit, Third Party Advisory)
- huntr.com/bounties/94eea285-fd65-4e01-a035-f533575ebdc2
This CVE has public exploit evidence. See the latest CVEs with public exploits.