Skip to main content
VulnerabilityPublished Updated

Openclaw cli: OpenClaw Vulnerable to Local File Exfiltration via MCP Tool Result MEDIA: Directive Injection

Affects openclaw-cliSource GCVE Database

0

CVSS 6.9 Medium : upgrade to 2026.7.1 when convenient.

Data as of 17 Nov 2026, 19:05 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2026.7.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

What to do

Upgrade openclaw-cli to 2026.7.1.

Affected software

ProductAffectedFixed in
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threatsAffected
  • <2026.7.1
Fixed in
  • 2026.7.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available for this vulnerability. Users should apply the official fix from the vendor to prevent local file exfiltration via MEDIA: directives. Until patched, users should consider restricting or monitoring the use of MCP tools from untrusted sources and review configurations of external messaging channels to limit exposure. No additional generic mitigations are recommended beyond applying the vendor's patch.

Description

OpenClaw CLI is vulnerable to local file exfiltration via injection of MEDIA: directives in MCP tool result content. A malicious or compromised MCP tool server can specify arbitrary file paths within allowed directories such as the OS temporary directory, causing OpenClaw to read and send those files to external messaging channels like Discord, Slack, Telegram, and WhatsApp without user awareness. This vulnerability affects all OpenClaw versions up to and including 2026.7.1. The flaw arises from unvalidated extraction of MEDIA: tokens, an overly broad default allowlist including os.tmpdir(), and delivery of file contents to external channels. Secondary attack vectors include fallback on image content paths and support for file:// URI schemes. The impact includes theft of sensitive temporary files and silent exfiltration to attacker-controlled channels. A patch is available to remediate this issue.

References

Community reviews

Loading reviews…