Info disclosure
Ollama vulnerable to Cross-Domain Token Exposure
Ollama 0.6.7's server.auth.getAuthorizationToken function mishandles the realm value in a WWW-Authenticate header returned by the /api/pull endpoint. A remote attacker could use a malicious realm to steal authentication tokens and bypass access controls.
ollama/ollama
Medium