CVE-2025-51471 Affecting ollama package, versions <0.12.10-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.03% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-OLLAMA-15407230
  • published5 Mar 2026
  • disclosed22 Jul 2025

Introduced: 22 Jul 2025

CVE-2025-51471  (opens in a new tab)

How to fix?

Upgrade Wolfi ollama to version 0.12.10-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ollama package and not the ollama package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.