OpenClaw Canvas Path Traversal Information Disclosure Vulnerability
The canvas gateway endpoint failed to validate a user-supplied path before using it in file operations. An authenticated attacker could exploit this to disclose sensitive information in the context of the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of OpenClaw. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The canvas gateway endpoint did not validate the user-supplied path before using it in file operations.
Impact
An authenticated attacker could disclose sensitive information in the context of the service account.
What the attacker needed
Authentication required
The fix
The vendor issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A path traversal bug happens when a program takes a file path from the user and uses it without checking it. An attacker can supply a path that points outside the intended folder, letting them read files they should not see. Here, a logged-in user could read sensitive files that the service account can access.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.