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.152 (96.7th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 96.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.142 · newest: 0.152 · change: +0.010
Affected products
- Ollama — versions 0.6.7
Weakness classification (CWE)
Public proof-of-concept exploits
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
Frequently asked questions
- What is CVE-2025-51471?
- CVE-2025-51471 is a medium-severity vulnerability in Ollama, classified under Insufficient Verification of Data Authenticity. CVSS score: 6.9/10. Published 2025-07-22.
- How severe is CVE-2025-51471?
- Medium severity. CVSS v3 base score is 6.9 out of 10.
- Is CVE-2025-51471 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.