CVE-2025-51471: ollama
CVSS: 6.9v3.1MediumModified
AliasesPYSEC-2025-147GHSA-x9hg-5q6g-q3jrGO-2025-3824CGA-32v3-h56r-65p9CGA-96qx-pp2v-q7hmCGA-97w3-jh2w-hm4mCGA-c847-r7w7-frvrCGA-jrcx-fffc-h246CGA-q5vw-pw22-7969CGA-jw8c-rpmm-743xCGA-wmqx-ph2x-jvj4
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.
CVSS score
6.9/10
010
Medium · v3.1 (CVE.org)EPSS score
13.92%
0%100%
Medium · -0.31 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, reference
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 22-07-2025PublishedVulnerability first disclosed.
- 17-10-2025Last 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 versionMedium 6.9Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:NSourcesAll 6 agree
- OSV · PypiEcosystem advisory · calculated6.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · GoEcosystem advisory · calculated6.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
- NVDNIST6.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
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 score13.92%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundOllama
Maturity: poc
Exploit Reference (gecko.security)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-345Insufficient Verification of Data AuthenticityThe product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.
- CWE-384Session FixationAuthenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.
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
- ollama0.6.7
PyPI1 product
- ollama≤ 0.6.7-NA
5 vendors · 10 products