Server-side Request Forgery (SSRF) Affecting github.com/ollama/ollama/server package, versions >=0.0.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMOLLAMAOLLAMASERVER-16081329
  • published16 Apr 2026
  • disclosed5 Apr 2026
  • creditdavidrochester

Introduced: 5 Apr 2026

CVE-2026-5530  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

There is no fixed version for github.com/ollama/ollama/server.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the verifyBlob() in the Model Pull API that improperly verifies manifest containing both config and layer digests. An attacker can access internal resources or services by sending crafted requests /api/copy or /api/push after serving malicious manifest from OCI registry.

CVSS Base Scores

version 4.0
version 3.1