Advisory

GHSA-x9hg-5q6g-q3jr

Also known as: CVE-2025-51471, GO-2025-3824

Summary

Ollama vulnerable to Cross-Domain Token Exposure

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-07-22 21:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/ollama/ollama

Go · All systems

Affected

  • introduced 0, last affected 0.9.6 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences