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% (7th 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-CHAINGUARDLATEST-OLLAMA-14888952
  • published7 Jan 2026
  • disclosed22 Jul 2025

Introduced: 22 Jul 2025

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

How to fix?

Upgrade Chainguard 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 Chainguard. See How to fix? for Chainguard 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.