CVE-2025-51471

Medium

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.

SeverityMedium
CVSS6.9
Exploit probability—
ProductOllama
PublishedJul 22, 2025
First seenJul 22, 2025

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
ollama ollama0.6.7—
ollamaPyPIv ≤ 0.6.7-NA—
github.com/ollama/ollamaGov ≤ 0.9.6, No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.