Vulnerabilities · 2025 · Ollama
CVE-2025-51471
Ollama vulnerability
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 products
Ollama. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ollama runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2025-51471
- github.com/ollama/ollama/pull/10750
- github.com/ollama/ollama
- www.gecko.security/blog/cve-2025-51471
- huntr.com/bounties/94eea285-fd65-4e01-a035-f533575ebdc2
- github.com/advisories/GHSA-x9hg-5q6g-q3jr
- github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-147.yaml
- nvd.nist.gov/vuln/detail/CVE-2025-51471
- cve.org/CVERecord?id=CVE-2025-51471
More vulnerabilities in Ollama products
CVE-2025-66960CVE-2025-66959CVE-2025-63389CVE-2025-44779CVE-2025-15514CVE-2025-1975CVE-2025-0317CVE-2025-0315All 19
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.