| Component | Ollama |
| Severity | medium (CVSS 6.3) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| Published (NVD) | 2026-04-05 |
| Last modified | 2026-07-24 |
| Affected versions | <= 0.18.1 read from the advisory text: no structured source gives these versions yet |
| Fixed in | see the vendor advisory |
| Weakness | CWE-918 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's record (status: Deferred) lists no affected versions of Ollama for this CVE. The ranges above are read from the advisory text: neither a GitHub-reviewed advisory nor the CVE record confirms them yet.
NVD description
A flaw has been found in Ollama up to 0.18.1. This issue affects some unknown processing of the file server/download.go of the component Model Pull API. Executing a manipulation can lead to server-side request forgery. The attack can be launched remotely. The vendor was contacted early about this disclosure but did not respond in any way.
What to do
- No fixed release is known yet: follow the vendor advisory below and keep Ollama off the public internet until a fix ships.
- Do not expose the component's API or UI to the internet without authentication in front of it.
- Run Ollama bound to localhost and reach it over a private network rather than an open port. Ollama on a Raspberry Pi 5 · Ollama on a Mac mini M4 · Tailscale for self-hosted AI · Which machine for a 7B model next to an agent · Agent plus local model, the exact setup, €12
Sources
- NVD: CVE-2026-5530
- https://vuldb.com/cve/CVE-2026-5530
- https://vuldb.com/submit/782107
- https://vuldb.com/vuln/355283
- https://vuldb.com/vuln/355283/cti