CVE-2026-5530
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceServer-side request forgery (SSRF) vulnerability in Ollama's Model Pull API file server component (download.go). Remote attackers can manipulate the API to cause the server to make arbitrary requests to internal or external resources, potentially accessing internal services or exfiltrating data.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Ollama installation and versionRun 'ollama --version' to retrieve the installed version number, or check the binary path (typically /usr/local/bin/ollama or /usr/bin/ollama) for its version metadataAffected if The version is 0.18.1 or any earlier version (the vulnerability affects versions up to and including 0.18.1)
-
Verify Model Pull API is accessibleCheck if the Ollama service is running and its API endpoints are exposed. Look for the default port (11434) listening with 'netstat -tlnp | grep 11434' or 'ss -tlnp | grep 11434'. The API typically responds at http://localhost:11434/api/pullAffected if The Ollama API port (default 11434) is open and reachable, enabling the Model Pull API endpoint
-
Confirm network egress configurationReview firewall rules, iptables, or cloud security groups to determine if the Ollama server can make outbound HTTP/HTTPS requests to arbitrary destinations. Check for unrestricted egress rules or lack of egress filteringAffected if The server has unrestricted outbound network access, allowing it to reach internal services or attacker-controlled URLs
-
Check for URL allowlisting controlsInspect Ollama configuration files (typically in /etc/ollama, ~/.ollama, or environment variables) for any URL domain restrictions or allowlist settings related to model downloadsAffected if No URL allowlisting or domain restrictions are configured for the Model Pull API, meaning arbitrary URLs can be specified during model pulls
You are affected if Ollama version 0.18.1 or earlier is installed, the Model Pull API is accessible, and no URL allowlisting or network restrictions are in place to prevent arbitrary request targets.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImplement strict URL allowlist validation and input sanitization for the Model Pull API; restrict outbound network access via firewall rules; monitor for anomalous outbound connections until an official patch is released.
Ollama 0.18.2 or later (upgrade to the latest available version)
- Check your current Ollama version by running: ollama --version
- Stop the Ollama service if running: systemctl stop ollama (or appropriate command for your setup)
- Update Ollama to the latest version using your installation method: brew upgrade ollama (macOS), or check the official installation guide for other methods
- Verify the upgrade was successful by running: ollama --version
- Restart the Ollama service: systemctl start ollama
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation12.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $8,448.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-5530 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-5530 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data