CVE-2025-51471Ollama
Medium 6.9 No auth needed
Follow: this CVE · Ollama · Ollama We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.1
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Jul 22, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Ollama.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/ollama/ollama |
≤ 0.9.6 |
no fixed version | — |
| Go | github.com/ollama/ollama |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-x9hg-5q6g-q3jr, GO-2025-3824). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ollama | ollama | 0.6.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Exploit Issue Tracking
- huntr.com
- www.gecko.security Exploit Third Party Advisory