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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 14.2%, higher than 96% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 6.9 MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
- EPSS
- 14.23% probability · 96th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-345, CWE-384
- Affected
- ollama/ollama
- Source
- cve@mitre.org
References
- https://github.com/ollama/ollamaProduct
- https://github.com/ollama/ollama/pull/10750Exploit, Issue Tracking
- https://huntr.com/bounties/94eea285-fd65-4e01-a035-f533575ebdc2
- https://www.gecko.security/blog/cve-2025-51471Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.