Skip to content
HighVulnerability

GHSA-jq4x-98m3-ggq6: OpenClaw Canvas Path Traversal Information Disclosure Vulnerability

Published
Record updated
View JSON
Affected
  • openclaw < 2026.2.21
Fixed in
2026.2.21
  • released February 21, 2026, 9 days before disclosure

Summary

The OpenClaw gateway's canvas tool accepts an a2ui_push action with a jsonlPath parameter and reads that file with fs.readFile() in src/agents/tools/canvas-tool.ts, with no path validation, canonicalization, or directory restriction. An authenticated attacker, including a prompt-injected AI agent holding the gateway token, can read arbitrary files such as /etc/passwd, and the contents are forwarded to a connected node via canvas.a2ui.pushJSONL. Tested on openclaw 2026.2.17 and macOS 26.3.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.