CVE-2025-51471
CVE-2025-51471 is a medium-severity vulnerability in Ollama with a CVSS 3.x base score of 6.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-345.
Key facts
- Severity: Medium (CVSS 3.x base score 6.9)
- EPSS exploit prediction: 4% (89th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-22351
- Weakness: CWE-345
- Affected product: Ollama
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-51471?
- 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.
- How severe is CVE-2025-51471?
- CVE-2025-51471 has a CVSS 3.x base score of 6.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity low, and availability none.
- Is CVE-2025-51471 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (89th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-51471?
- CVE-2025-51471 affects Ollama. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-51471?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-51471 have an EU (EUVD) identifier?
- Yes. CVE-2025-51471 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-22351.
- When was CVE-2025-51471 published?
- CVE-2025-51471 was published on 2025-07-22 and last updated on 2026-06-17.
References
- https://github.com/ollama/ollama
- https://github.com/ollama/ollama/pull/10750
- https://huntr.com/bounties/94eea285-fd65-4e01-a035-f533575ebdc2
- https://www.gecko.security/blog/cve-2025-51471
Affected products (1)
- cpe:2.3:a:ollama:ollama:0.6.7:-:*:*:*:*:*:*
More vulnerabilities in Ollama
- CVE-2026-42249 — Critical (CVSS 9.8): Ollama for Windows contains a Remote Code Execution vulnerability in its update mechanism due to improper handling of…
- CVE-2026-42248 — Critical (CVSS 9.8): Ollama for Windows does not perform integrity or authenticity verification of downloaded update executables. Unlike…
- CVE-2025-63389 — Critical (CVSS 9.8): A critical authentication bypass vulnerability exists in Ollama platform's API endpoints in versions prior to and…
- CVE-2026-7482 — Critical (CVSS 9.1): Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create…
- CVE-2024-37032 — High (CVSS 8.8): Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model…
- CVE-2024-39720 — High (CVSS 8.2): An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file…
Other CWE-345 (Insufficient Verification of Data Authenticity) vulnerabilities
- CVE-2026-35051 — Critical (CVSS 10.0): Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is an…
- CVE-2014-8165 — Critical (CVSS 10.0): scripts/amsvis/powerpcAMS/amsnet.py in powerpc-utils-python uses the pickle Python module unsafely, which allows remote…
- CVE-2026-50195 — Critical (CVSS 9.9): containerd is an open-source container runtime. Versions prior to 2.3.2, 2.2.5 and 2.1.9 contain a vulnerability in the…
- CVE-2022-36130 — Critical (CVSS 9.9): HashiCorp Boundary up to 0.10.1 did not properly perform data integrity checks to ensure the resources were associated…
- CVE-2026-50214 — Critical (CVSS 9.8): The /v1/Plan service relies entirely on a shared global API token for full administrative management, allowing…
- CVE-2025-15385 — Critical (CVSS 9.8): Insufficient Verification of Data Authenticity vulnerability in TECNO Mobile com.Afmobi.Boomplayer allows…
Browse all CWE-345 (Insufficient Verification of Data Authenticity) vulnerabilities →