Description
OpenClaw versions prior to 2026.2.21 contain an improper URL scheme validation vulnerability in the assertBrowserNavigationAllowed() function that allows authenticated users with browser-tool access to navigate to file:// URLs. Attackers can exploit this by accessing local files readable by the OpenClaw process user through browser snapshot and extraction actions to exfiltrate sensitive data.
Problem types
CWE-610: Externally Controlled Reference to a Resource in Another Sphere
Product status
Any version before 2026.2.21
2026.2.21 (semver)
Credits
q1uf3ng
References
github.com/...enclaw/security/advisories/GHSA-45cg-2683-gfmq
github.com/...enclaw/security/advisories/GHSA-45cg-2683-gfmq (GitHub Security Advisory (GHSA-45cg-2683-gfmq))
github.com/...ommit/220bd95eff6838234e8b4b711f86d4565e16e401 (Patch Commit)
www.vulncheck.com/...-file-read-via-browser-navigation-guard (VulnCheck Advisory: OpenClaw < 2026.2.21 - Arbitrary Local File Read via Browser Navigation Guard)