Description
OpenClaw versions prior to 2026.2.19 contain a path traversal vulnerability in the stageSandboxMedia function that accepts arbitrary absolute paths when iMessage remote attachment fetching is enabled. An attacker who can tamper with attachment path metadata can disclose files readable by the OpenClaw process on the configured remote host via SCP.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 2026.2.19
2026.2.19 (semver)
Credits
Peng Zhou (@zpbrent)
References
github.com/...enclaw/security/advisories/GHSA-x9cf-3w63-rpq9 (GitHub Security Advisory (GHSA-x9cf-3w63-rpq9))
github.com/...ommit/1316e5740382926e45a42097b4bfe0aef7d63e8e (Patch Commit)
www.vulncheck.com/...re-via-stagesandboxmedia-path-traversal (VulnCheck Advisory: OpenClaw < 2026.2.19 - Sensitive File Disclosure via stageSandboxMedia Path Traversal)