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

CVE-2026-29609: OpenClaw affected by denial of service via unbounded URL-backed media fetch

highCVSS 3.1 7.5GHSA-j27p-hq53-9wgc

OpenClaw's URL-backed media fetch (`fetchWithGuard` in `src/media/input-files.ts`) loaded the whole response into memory before enforcing `maxBytes`. A remote server that streams a huge body can exhaust memory and take OpenClaw down. `openclaw` below 2026.2.14 is affected. Upgrade to 2026.2.14. The legacy `clawdbot` package has no patch.

Published Feb 18, 2026 · Updated Mar 5, 2026 · Analysis Oct 31, 2026

What an attacker can do

fetchWithGuard checked the size limit only after calling response.arrayBuffer(). A content-length header that is missing or wrong, as with chunked transfer, lets a response of any size pass the early check. The process then buffers the entire body before the limit can reject it (CWE-400).

The attacker needs to get OpenClaw to fetch a URL they control. That happens when URL-based media input is configured and the attacker can supply a media URL, for example in a message, a tool call or a prompt-injected instruction. No credentials are needed in the CVSS vector. The attacker's server then streams data without end or at a large size.

The effect is memory pressure and loss of availability for the OpenClaw process, and every channel it serves. Nothing is read or modified. The advisory's proof of concept is a small Node HTTP server that writes a thousand 64 KB chunks with no content-length header.

Who is affected

The npm package openclaw before 2026.2.14 and the legacy npm package clawdbot up to 2026.1.24-3. Only deployments with URL-backed media inputs enabled reach the code path. Check:

npm ls -g openclaw clawdbot

Then see whether your config accepts media from URLs, and from whom.

openclaw

Ecosystem
npm
Affected
< 2026.2.14
Fixed in
2026.2.14
Check
npm ls openclaw

How to fix it

Upgrade openclaw to 2026.2.14, the patched version (commit 00a0890):

npm install -g [email protected]

A new helper, readResponseWithLimit(response, maxBytes), reads the body in chunks with a running byte count. When the total passes maxBytes it cancels the read and throws "Content too large". The content-length header is also parsed more strictly. clawdbot has no patched version, so migrate to openclaw. Mitigation from the advisory: disable URL-backed media inputs or restrict them to a tight hostname allowlist, and keep maxBytes conservative.

How to tell if you were hit

Watch for memory spikes or out-of-memory restarts of the OpenClaw process that coincide with media fetches. Check outbound connections to unfamiliar hosts that sent long responses with no content length. After the upgrade, "Content too large" errors in logs show that oversized responses are being cut off. The advisory gives no other indicators.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

URL-backed media fetch handling allocated the entire response payload in memory (arrayBuffer) before enforcing maxBytes, allowing oversized responses to cause memory exhaustion.

Affected Versions

  • openclaw (npm): < 2026.2.14
  • clawdbot (npm): <= 2026.1.24-3

Patched Versions

  • openclaw (npm): 2026.2.14

Fix Commit

  • openclaw/openclaw main: 00a08908892d1743d1fc52e5cbd9499dd5da2fe0

Details

Affected component:

  • src/media/input-files.ts (fetchWithGuard)

When content-length is missing or incorrect, reading the body via response.arrayBuffer() buffers the full payload before a size check can run.

Proof of Concept

  1. Configure URL-based media input.
  2. Serve a response larger than maxBytes (chunked transfer / no content-length).
  3. Trigger the fetchWithGuard URL fetch path.

Example local server (large response):

node -e 'require("http").createServer((_,res)=>{res.writeHead(200,{"content-type":"application/octet-stream"});for(let i=0;i<1024;i++)res.write(Buffer.alloc(1024*64));res.end();}).listen(18888)'

Impact

Availability loss via memory pressure from attacker-controlled remote media responses.

Mitigation

Until a patched release is available, disable URL-backed media inputs (or restrict to a tight hostname allowlist) and use conservative maxBytes limits.

Credits

Reported by @vincentkoc.

Credited to vincentkoc.

Questions

Why did the existing maxBytes limit not help?

The code read the full response with arrayBuffer() first, then checked the size. With a missing or wrong content-length, the whole payload was already in memory.

Does the attacker need credentials?

The CVSS vector lists none. They need to cause a fetch of a URL they control, which requires URL-backed media input to be enabled.

Which version fixes CVE-2026-29609?

openclaw 2026.2.14. clawdbot up to 2026.1.24-3 is affected and has no patched version.

What is the workaround?

Disable URL-backed media inputs or restrict them to a tight hostname allowlist, and use conservative maxBytes limits.

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