NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-41302: OpenClaw: SSRF via Unguarded `fetch()` in Marketplace Plugin Download and Ollama Model Discovery

mediumCVSS 4.0 4.8 · 3.1 6.3GHSA-9q7v-8mr7-g23p

OpenClaw up to 2026.3.28 fetches marketplace plugin archives and Ollama model data with an unguarded fetch(), which allows server-side request forgery (SSRF). An attacker who can steer the download URL can make the OpenClaw host send requests to internal addresses. Upgrade to 2026.3.31. Maintainers rate it medium and call the Ollama part narrow.

Published Apr 2, 2026 · Updated Apr 27, 2026 · Analysis Oct 30, 2026

What an attacker can do

The marketplace plugin download path called fetch() on a URL without checking where it pointed. A crafted marketplace entry or archive URL could therefore make the machine running OpenClaw send requests to destinations the attacker picks, including internal ones.

The attacker needs a low-privilege position and some user interaction: someone must install or download a plugin from an attacker-influenced source. The CVSS 3.1 vector reflects that with PR:L and UI:R, and rates confidentiality impact as high because the reach extends past OpenClaw into other systems on the network.

The maintainers kept the marketplace archive-fetch SSRF as the real issue. They narrowed out the Ollama model discovery half, because the Ollama base URL is set by the operator and so overlaps weaker trust-model findings. In practice, a developer workstation or server that runs OpenClaw next to internal services is the exposed case.

Who is affected

The npm package openclaw at version 2026.3.28 or earlier is affected. Version 2026.3.31 is the first stable tag with the fix. Check the installed version:

npm ls openclaw

Any install that uses marketplace plugin downloads is in scope. The Ollama discovery calls were also unguarded in these versions.

openclaw

Ecosystem
npm
Affected
<= 2026.3.28
Fixed in
2026.3.31
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.31 or later:

npm install [email protected]

The fix commit 8deb952 changes src/plugins/marketplace.ts and its tests. It also moves the Ollama model discovery and setup calls (fetchOllamaModels, queryOllamaContextWindow, /api/me, /api/pull) onto the guard, with a policy that pins them to the configured Ollama hostname. The sources list no other workaround.

How to tell if you were hit

Look in network and proxy logs for requests from the OpenClaw host to loopback or private addresses at the time of plugin installs. Review which marketplace sources and plugin archive URLs your installs used, and check for unexpected plugin downloads. On patched versions the guarded Ollama calls carry audit labels such as ollama-provider-models.tags and ollama-setup.pull, which help when you trace outbound requests.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

SSRF via Unguarded fetch() in Marketplace Plugin Download and Ollama Model Discovery

Current Maintainer Triage

  • Status: narrow
  • Normalized severity: medium
  • Assessment: Keep the shipped marketplace archive-fetch SSRF, but narrow out the Ollama half because it is operator-configured and overlaps weaker trust-model or duplicate SSRF ground.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published npm version: 2026.3.31
  • Vulnerable version range: <=2026.3.28
  • Patched versions: >= 2026.3.31
  • First stable tag containing the fix: v2026.3.31

Fix Commit(s)

  • 8deb9522f3d2680820588b190adb4a2a52f3670b — 2026-03-30T20:08:38+01:00

OpenClaw thanks @tdjackey for reporting.

Credited to tdjackey.

Questions

Is OpenClaw 2026.3.28 affected by CVE-2026-41302?

Yes. Every version up to and including 2026.3.28 is listed as vulnerable. Upgrade to 2026.3.31, the first stable tag that contains the fix.

Does CVE-2026-41302 need user interaction?

Yes. The CVSS 3.1 vector sets UI:R and PR:L. A user has to trigger the plugin download, and the attacker needs low privileges or influence over the source.

Is CVE-2026-41302 exploited in the wild?

The sources do not report exploitation, and it is not in CISA's KEV catalog. EPSS is about 0.2 percent.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries