Ollama vulnerable to Cross-Domain Token Exposure
CVE-2025-51471 · GHSA-x9hg-5q6g-q3jr · published 2025-07-22 · updated 2026-06-06
- Severity
- Medium
- CVSS score
- 6.9
- Chance of exploitation (EPSS)
- 18.5%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
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.
No fixed release is listed yet for github.com/ollama/ollama. Limit what it can reach, or stop using it until a fix ships, and follow the source advisory for updates.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| github.com/ollama/ollama | Go | <= 0.9.6 | No fix yet |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
- CriticalOllama Platform has missing authentication enabling attackers to perform model management operationsgithub.com/ollama/ollama
- HighOllama contains a heap out-of-bounds read vulnerability in the GGUF model loadergithub.com/ollama/ollama
- HighOllama Server Vulnerable to Denial of Service (DoS) Attackgithub.com/ollama/ollama
- HighOllama Divide by Zero Vulnerabilitygithub.com/ollama/ollama
- HighOllama Allows Out-of-Bounds Readgithub.com/ollama/ollama
- HighOllama Divide By Zero vulnerabilitygithub.com/ollama/ollama
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.