Skip to content

CVE-2025-51471 Ollama vulnerable to Cross-Domain Token Exposure

MediumCVSS 6.9 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

3 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
ollama(Go) <= 0.9.6; All versions after 0.9.6 Partially fixed
pypi ollama(PyPI) <= 0.6.7-NA after 0.6.7-NA Fixed
ollama = 0.6.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi ollama(PyPI) <= 0.6.7-NA No fix listed
ollama(Go) <= 0.9.6 No fix listed
ollama(Go) All versions No fix listed
ollama = 0.6.7 No fix listed

References