6.9

CVE-2025-51471: ollama

CVSS: 6.9v3.1MediumModified
AliasesPYSEC-2025-147GHSA-x9hg-5q6g-q3jrGO-2025-3824
Published 22-07-2025Last modified 17-10-2025

Vulnerability summary

CVE-2025-51471 is a medium (CVSS 6.9) vulnerability in ollama. EPSS estimates a 13.92% chance of exploitation in the next 30 days, higher than 96.5% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
13.92%
0%100%
Medium · -0.31 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, reference

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 22-07-2025
    PublishedVulnerability first disclosed.
  2. 17-10-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

13.92%

Chance of exploitation in the next 30 days

Percentile

97%

Versus all other CVEs

30-day change

-0.31 pp

From 14.23% on 19-09-2026

19-09-202619-10-2026
EPSS score
13.92%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    Ollama

    Maturity: poc

  • referenceUnverified

    Exploit Reference (gecko.security)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Chainguard4 products
  • k8sgpt< 0.4.28-r0
  • mods< 1.8.1-r12
  • ollama< 0.12.10-r0
  • ollama-fips< 0.12.10-r0
Wolfi3 products
  • k8sgpt< 0.4.28-r0
  • mods< 1.8.1-r12
  • ollama< 0.12.10-r0
Github.com/ollama1 product
  • ollama≤ 0.9.6 | All versions (No fix recorded)
Ollama1 product
PyPI1 product
  • ollama≤ 0.6.7-NA

5 vendors · 10 products

References

8 links