CVE-2025-51471: Medium severity Ollama Ollama vulnerability

Published Jul 22, 2025
·
Updated

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.

Affected Software

3 affected components
Ollama Ollama
go/github.com/ollama/ollama<=0.9.6
Ollama Ollama=0.6.7

Event History

Jul 22, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
Affected Software
Advisory Published
via GitHub·09:31 PM
Data Sourced
via GitHub·09:31 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-51471?

CVE-2025-51471 is classified as a high severity vulnerability due to its potential to allow remote attackers to steal authentication tokens.

2

How do I fix CVE-2025-51471?

To mitigate CVE-2025-51471, upgrade to a version of Ollama that is beyond 0.9.6, where the vulnerability is addressed.

3

What is the impact of CVE-2025-51471?

The impact of CVE-2025-51471 includes unauthorized access and potential data breaches stemming from stolen authentication tokens.

4

What versions of Ollama are affected by CVE-2025-51471?

CVE-2025-51471 affects Ollama versions up to and including 0.6.7.

5

How does CVE-2025-51471 work?

CVE-2025-51471 exploits a flaw in the server.auth.getAuthorizationToken method where a malicious 'realm' value can lead to token exposure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203