GHSA-x9hg-5q6g-q3jr

Suggest an improvement
Source
https://github.com/advisories/GHSA-x9hg-5q6g-q3jr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-x9hg-5q6g-q3jr/GHSA-x9hg-5q6g-q3jr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x9hg-5q6g-q3jr
Aliases
  • CVE-2025-51471
Downstream
Published
2025-07-22T21:31:15Z
Modified
2025-07-22T22:27:21.752445Z
Severity
  • 6.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N CVSS Calculator
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.

Database specific
{
    "severity": "MODERATE",
    "github_reviewed_at": "2025-07-22T21:56:25Z",
    "cwe_ids": [
        "CWE-345"
    ],
    "github_reviewed": true,
    "nvd_published_at": "2025-07-22T19:15:25Z"
}
References

Affected packages

Go / github.com/ollama/ollama

Package

Name
github.com/ollama/ollama
View open source insights on deps.dev
Purl
pkg:golang/github.com/ollama/ollama

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.9.6