Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Discord bot credentials
-
DeliveryCraft eventCreate request with malicious 'image' file:// URI
-
ExploitSubmit to OpenClaw-integrated channel
-
ExecutionBypass sandbox media normalization
-
PersistTrigger host-local file access
-
ImpactExfiltrate confidential data via channel response
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires the attacker to possess authenticated credentials for a Discord bot integrated with OpenClaw - specifically, PR:L (low-privilege authentication) means a valid bot token or API key with event creation permissions. The vulnerable OpenClaw instance must be configured to process Discord event cover images, meaning the bot must have permissions to create events in at least one Discord server channel. The attack works against default OpenClaw configurations running versions 2026.4.7 through 2026.4.9 without any special deployment settings required. Limiting factors: Network access to the Discord API endpoints is necessary (AV:N), but the attacker must first obtain or compromise a Discord bot token, which is a significant access barrier. No user interaction required (UI:N) - the attack is fully automated once credentials are obtained. The scope change (S:C) indicates the attack breaks out of the intended sandbox boundary, but the bot process must have filesystem read permissions on the host for the injected file:// paths to successfully resolve and expose data. |
| Impact | Real-world risk is moderate despite the 7.7 CVSS score. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C) indicates network-accessible exploitation with low complexity, but requires authenticated Discord bot credentials (PR:L), significantly limiting the attack surface to scenarios where an attacker has compromised or controls a Discord bot with OpenClaw integration. The Scope:Changed with C:H rating reflects that successful exploitation exposes confidential data outside the intended sandbox boundary, potentially leaking workspace files, configuration secrets, or internal assets. No EPSS data provided, but the vulnerability is not in CISA KEV, suggesting no confirmed widespread or targeted exploitation. Public exploit code is available via GitHub commit 979c6f09d6fad96596feb91c905934be7e0b4f15 and PR #64377, lowering the barrier for opportunistic attackers. Attack complexity is genuinely low once authenticated - simply craft a Discord eventCreate action with a malicious 'image' parameter. The Integrity and Availability scores are None, meaning this is purely an information disclosure issue. Priority should be HIGH for organizations running Discord bots with OpenClaw in production environments where the bot process has access to sensitive local files, but MEDIUM for development-only or sandboxed deployments. The narrow affected version range (2026.4.7-2026.4.9) and availability of a clear upgrade path (2026.4.10+) reduce remediation complexity. |
| Exploit ScenarioDerived | An attacker with valid Discord bot credentials (e.g., compromised bot token or malicious bot operator) sends a crafted Discord event creation request to a channel integrated with vulnerable OpenClaw. The request includes an 'image' parameter set to 'file:///etc/passwd' or 'file:///workspace/.env' instead of a legitimate image URL. Because OpenClaw versions 2026.4.7-2026.4.9 omit the 'image' parameter from sandbox media normalization, the file:// URI bypasses path rewriting and reaches the channel action handler expecting normalized media. The handler processes the local file reference, potentially exposing confidential workspace files, environment variables, or internal assets to the attacker through Discord channel responses or error messages. Public exploit code demonstrating the vulnerable code path is available in GitHub PR #64377. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 05, 2026
Path traversal in OpenClaw npm package allows authenticated attackers to expose confidential host-local files via Discord event cover image parameters. Versions 2026.4.7 through 2026.4.9 fail to normalize Discord event cover image paths through sandbox media processing, enabling attackers with low-privilege Discord bot credentials to bypass media sandboxing and inject host-local file references (e.g., file:///workspace/assets/event-cover.png) into channel actions expecting normalized media. This results in high confidentiality impact with scope change, as local filesystem paths outside the intended sandbox can be accessed. Vendor-released patch available (2026.4.10+). No active exploitation confirmed (not in CISA KEV), but public exploit code exists via GitHub commit and advisory.
RemediationAI
Upgrade to OpenClaw version 2026.4.10 or newer immediately. The vendor-released patch is confirmed in stable tag v2026.4.10, with the latest npm release 2026.4.14 already including the fix. Update via npm with 'npm install openclaw@latest' or specify 'openclaw@^2026.4.10' in package.json dependencies. The fix commit 979c6f09d6fad96596feb91c905934be7e0b4f15 (PR #64377) adds 'image' to the SANDBOX_MEDIA_PARAM_KEYS array, ensuring Discord event cover images undergo the same path normalization as other media parameters. If immediate upgrade is not feasible, implement compensating controls: (1) Restrict Discord bot permissions to prevent event creation capabilities - this eliminates the attack vector but breaks event management functionality; (2) Deploy OpenClaw bot processes in isolated containers with read-only filesystem mounts for workspace directories, limiting exposure of sensitive files - adds operational overhead and may impact legitimate media operations; (3) Implement application-layer input validation to reject file:// URIs in all Discord API parameters before they reach OpenClaw - requires code changes and thorough testing of all media workflows. None of these workarounds are preferable to the vendor patch. Refer to GitHub advisory https://github.com/openclaw/openclaw/security/advisories/GHSA-c9h3-5p7r-mrjh and patch commit https://github.com/openclaw/openclaw/commit/979c6f09d6fad96596feb91c905934be7e0b4f15 for full technical details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenClaw is an npm package providing Discord bot integration capabilities. The vulnerability stems from CWE-184 (Incomplete List of Disallowed Inputs), where the sandbox media normalization function checked only specific parameter keys ('media', 'path', 'filePath', 'mediaUrl', 'fileUrl') but omitted the 'image' parameter used by Discord's eventCreate API. When processing Discord event cover images, the code failed to rewrite file:// URIs pointing to host-local paths into sandbox-rooted paths. This allowed an attacker to craft Discord event creation requests with 'image' parameters containing absolute filesystem paths that would bypass the normalization routine and reach downstream channel action handlers expecting only sandboxed media references. The fix adds 'image' to the SANDBOX_MEDIA_PARAM_KEYS allowlist and includes test coverage for the event-create media path, ensuring all user-controllable media parameters undergo path rewriting before reaching sensitive file operations.
Know when Openclaw gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw versions 2026.4.7 before 2026.4.10 fail to normalize Discord event cover image parameters in sandbox media processing. Attackers can bypass media normalization to inject host-local media references into channel action paths expecting normalized media.
Executive ViewAI
The OpenClaw npm package (versions 2026.4.7-2026.4.9) contains a path traversal vulnerability that allows authenticated Discord bot operators to read arbitrary files from the host system by manipulating event cover image parameters. Organizations using OpenClaw in production Discord integrations face confidentiality risk if their bot credentials are compromised or if internal bot operators are untrusted; this could expose sensitive configuration files, credentials, or application source code stored on the same host.
Apply vendor patch (version 2026.4.10 or later). If immediate patching is not possible, restrict Discord bot credentials to minimum required permissions and monitor bot API calls for suspicious file:// URI patterns in event cover image parameters; disable event cover image functionality until patch is applied.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
EUVD-2026-27275
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB