gcdRadar
archive/Patch now/AIR-2025-0317
closedclosed 22 Jul 2025Patch now2 Disclosed vulnerabilityAI

CVE-2025-51471: Ollama Cross-Domain Token Exposure Vulnerability

Ollama

Ollama contains a vulnerability in authorization token handling that allows remote attackers to steal tokens and bypass access controls via a malicious realm value. A patch has been released to address the issue.

disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why

CVSS
6.9
EPSS
0.19 · top 3% · 2026-11-13
fix status
Fix status unknown
first report
22 Jul 2025
last update
22 Jul 2025

Timeline · 2

  1. 22 Jul 2025CVE-2025-51471: Ollama vulnerable to Cross-Domain Token Exposure
  2. 22 Jul 2025CVE-2025-51471: Cross-Domain Token Exposure in server.auth.getAuthorizationToken in Ollama 0.6.7 allows remote attackers to steal authentication…

Sources · 2

Advisories and databases

  1. 2025-07-22
    CVE-2025-51471: Ollama vulnerable to Cross-Domain Token Exposure
    GitHub Advisory Database · github.com/advisories/GHSA-x9hg-5q6g-q3jr
  2. 2025-07-22

Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Infrastructure vulnerability
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Framework / tooling
owasp llm top 10
LLM03:2025 Supply Chain
mitre atlas
no technique for these categories
dates
happened 22 Jul 2025 · first reported 22 Jul 2025
origin
GitHub Advisory Database
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
record
confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# CVE-2025-51471: Ollama Cross-Domain Token Exposure Vulnerability

https://gcdradar.vercel.app/incidents/cve-2025-51471-ollama-cross-domain-token-exposure-vulnerabil · AIR-2025-0317 · closed 2025-07-22

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2025-07-22
- AI role: Attack on AI
- Products: Ollama
- CVE ids: CVE-2025-51471
- CVSS: 6.9

## Summary

Ollama contains a vulnerability in authorization token handling that allows remote attackers to steal tokens and bypass access controls via a malicious realm value. A patch has been released to address the issue.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2025-07-22: CVE-2025-51471: Cross-Domain Token Exposure in server.auth.getAuthorizationToken in Ollama 0.6.7 allows remote attackers to steal authentication… (https://nvd.nist.gov/vuln/detail/CVE-2025-51471)
- 2025-07-22: CVE-2025-51471: Ollama vulnerable to Cross-Domain Token Exposure (https://github.com/advisories/GHSA-x9hg-5q6g-q3jr)

## Sources

- 2025-07-22 GitHub Advisory Database: CVE-2025-51471: Ollama vulnerable to Cross-Domain Token Exposure https://github.com/advisories/GHSA-x9hg-5q6g-q3jr
- 2025-07-22 NVD: CVE-2025-51471: Cross-Domain Token Exposure in server.auth.getAuthorizationToken in Ollama 0.6.7 allows remote attackers to steal authentication… https://nvd.nist.gov/vuln/detail/CVE-2025-51471

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed6.6
    Ollama CVE-2025-44779: Ollama arbitrary file deletion vulnerability

    Patch now · Disclosed · since 7 Aug 2025 · CVE-2025-44779

    AI
  2. closed8.7
    Ollama CVE-2025-15514: Ollama null pointer dereference in image processing

    Patch now · Disclosed · since 12 Jan 2026 · CVE-2025-15514

    AI
  3. closed9.3
    Ollama CVE-2025-63389: Authentication bypass in Ollama API endpoints

    Patch now · Disclosed · since 18 Dec 2025 · CVE-2025-63389

    AI
  4. closed7.5
    Ollama CVE-2025-1975: Ollama Server Vulnerable to Denial of Service Attack

    Patch now · Disclosed · since 16 May 2025 · CVE-2025-1975

    AI
  5. closed7.5
    Ollama CVE-2025-0315: Ollama Resource Exhaustion via Custom GGUF Models

    Patch now · Disclosed · since 20 Mar 2025 · CVE-2025-0315

    AI
  6. closed7.5
    Ollama CVE-2024-8063: Ollama Modelfile Processing Causes Denial of Service

    Patch now · Disclosed · since 20 Mar 2025 · CVE-2024-8063

    AI