NetSight
medium6.9

CVE-2025-51471

Ollama vulnerable to Cross-Domain Token Exposure

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/ollama/ollama<= 0.9.6none recorded

Affected products

VendorProductAffected versions
OllamaOllama
Version 0.6.7

Weakness classification

References