MEDIUM 6.9
PYSEC-2025-147
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / ollama
Introduced in:
0 No fixed version published yet for ollama (pip). Pin to a known-safe version or switch to an alternative.