Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. GHSA-jjgj-cpp9-cvpv

GHSA-jjgj-cpp9-cvpv: OpenClaw Vulnerable to Local File Exfiltration via MCP Tool Result MEDIA: Directive Injection

March 4, 2026

A malicious or compromised MCP (Model Context Protocol) tool server can exfiltrate arbitrary local files from the host system by injecting MEDIA: directives into tool result text content. OpenClaw’s tool result processing pipeline extracts file paths from MEDIA: tokens without source-level validation, passes them through a localRoots allowlist check that includes os.tmpdir() by default (covering /tmp on Linux/macOS and %TEMP% on Windows), and then reads and delivers the file contents to external messaging channels such as Discord, Slack, Telegram, and WhatsApp.

References

  • github.com/advisories/GHSA-jjgj-cpp9-cvpv
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/security/advisories/GHSA-jjgj-cpp9-cvpv
  • owasp.org/www-community/attacks/Path_Traversal

Code Behaviors & Features

Detect and mitigate GHSA-jjgj-cpp9-cvpv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2026.2.21

Fixed versions

  • 2026.2.21

Solution

Upgrade to version 2026.2.21 or above.

Impact 6.2 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/openclaw/GHSA-jjgj-cpp9-cvpv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:12 +0000.