Read the docs

Server-side request forgery in Ollama Pull API name validation

Priority LOW 37CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Ollama from 0.34.0 before 0.34.2 is affected. A flaw in the IsValid function of the Pull API model name handling (CWE-918) enables server-side request forgery. A remote attacker without privileges or user interaction can make the server issue unintended requests. A public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

A vulnerability has been found in Ollama up to 0.34.1. The affected element is the function IsValid of the file types/model/name.go of the component Pull API. The manipulation leads to server-side request forgery. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 0.34.2 is sufficient to fix this issue. The identifier of the patch is dfabde4539e42ba1e1eab50a3a50b88aea7958a0. It is suggested to upgrade the affected component.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00466 40th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed Ollama: 0.34.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Ollama0.34.0; 0.34.10.34.2Patch availableCNA
  • Ollama Vendor— Affected 0.34.0; 0.34.1 Fixed in 0.34.2 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*——ollama
  • cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* Versions — — ·ollama

Remediation

Upgrade Ollama to version 0.34.2, which contains patch dfabde4539e42ba1e1eab50a3a50b88aea7958a0.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA Ollama Fixed in 0.34.2

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-12 Threatist record created from CVE-2026-108836
  2. 2026-10-12 Alias added: GHSA-fr42-jr2w-mx59
  3. 2026-10-13 Affected versions changed · Red Hat
  4. 2026-10-13 CVSS score added · Red Hat
  5. 2026-10-13 Priority changed: MEDIUM → LOW
  6. 2026-10-13 CISA SSVC decision points changed

References

Sources