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

CVE-2026-29611: OpenClaw has a LFI in BlueBubbles media path handling

highCVSS 3.1 7.5GHSA-rwj8-p9vq-25gv

OpenClaw's BlueBubbles extension read any local file named in `mediaPath` and sent it as a media attachment. Anyone able to trigger a BlueBubbles media send could exfiltrate files the OpenClaw process can read, such as `/etc/passwd`. Versions below 2026.2.14 are affected. Upgrade to 2026.2.14 and set `channels.bluebubbles.mediaLocalRoots`.

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

What an attacker can do

When sendBlueBubblesMedia received a media source that was not an HTTP URL, it resolved it to a local path and read it straight from disk. No allowlist of safe directories existed (CWE-22). A value such as /etc/passwd, an SSH private key or an .env file was read and then delivered to the chat as an attachment, which carries the content out of the machine.

The attacker needs a way to trigger a BlueBubbles media send with a path of their choosing. That could be a tool call in a conversation or a prompt-injected instruction that makes the agent send a file. The CVSS 3.1 vector lists no privileges and no user interaction and rates confidentiality high, score 7.5. The advisory does not say how the send is triggered in each deployment.

What leaks is whatever the OpenClaw process can read. On a developer machine or a Mac running BlueBubbles, that includes the user's home directory, keys and tokens. Integrity and availability are not affected.

Who is affected

The npm package openclaw below 2026.2.14, with the BlueBubbles extension in use. Check:

npm ls -g openclaw
openclaw --version

If you do not use BlueBubbles, this code path is not reached.

openclaw

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

How to fix it

Upgrade to 2026.2.14, the patched version (PR #16322, commit 71f357d):

npm install -g [email protected]

Then set channels.bluebubbles.mediaLocalRoots to the explicit trusted directories your media comes from. Without it, local-path media reads are denied. Roots must be absolute paths, set at account or global level. The fix blocks .. traversal, checks real paths and inode and device, and opens files with O_NOFOLLOW on Unix to stop symlink escapes. Remote URL media is unchanged. Paths outside the roots are rejected.

How to tell if you were hit

Look in BlueBubbles message history for outbound attachments that contain system or user files, such as passwd, key files or config files. Review agent tool calls or logs for media sends with absolute local paths or .. segments. After upgrading, rejected paths show that something still asks for files outside your roots. Beam records agent file access and tool calls, so it can show an agent reading a sensitive file just before a media send.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

The BlueBubbles extension accepted attacker-controlled local filesystem paths via mediaPath and could read arbitrary local files from disk before sending them as media attachments.

Details

When sendBlueBubblesMedia received a non-HTTP media source, the previous implementation resolved it to a local path and read it directly from disk. There was no required allowlist of safe directories, so values like /etc/passwd (or equivalent sensitive paths on other platforms) could be requested and exfiltrated.

The fix hardens local media loading by requiring explicit configured roots (channels.bluebubbles.mediaLocalRoots) and by enforcing canonical-path containment checks before reading local files. Paths outside allowed roots are rejected.

Fix PR: https://github.com/openclaw/openclaw/pull/16322 Fix commit: https://github.com/openclaw/openclaw/commit/71f357d9498cebb0efe016b0496d5fbe807539fc

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected: < v2026.2.14
  • Fixed: >= v2026.2.14 (planned)

Impact

An attacker able to trigger BlueBubbles media sends could exfiltrate local files accessible to the OpenClaw process.

Remediation

Upgrade to a release that includes commit 71f357d9498cebb0efe016b0496d5fbe807539fc and configure channels.bluebubbles.mediaLocalRoots to explicit trusted directories.

Credited to zpbrent.

Questions

What changed in how BlueBubbles reads local files?

Local reads are denied by default. You must list absolute directories in channels.bluebubbles.mediaLocalRoots, and paths are checked against them by canonical path.

Which version fixes CVE-2026-29611?

2026.2.14. Earlier versions let mediaPath read any file the process could access.

Does it affect remote URL media?

No. Remote URL media handling is unchanged by the fix.

Is it exploited in the wild?

The sources do not report exploitation and it is not in CISA's KEV catalog.

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