| Package | Affected versions | Patched versions |
|---|---|---|
| openclaw | < 2026.2.21 | 2026.2.21 |
| openclaw | < 2026.2.21 | 2026.2.21 |
assertBrowserNavigationAllowed() validated only http:/https: network targets but implicitly allowed other schemes. An authenticated gateway user could navigate browser sessions to file:// URLs and read local files via browser snapshot/extraction flows.
src/browser/navigation-guard.tsfile:// URL (for example file:///etc/passwd).An attacker with valid gateway credentials and browser-tool access can exfiltrate local files readable by the OpenClaw process user (for example config/secrets in that user context).
Reject unsupported navigation schemes and allow only explicitly safe non-network URLs. OpenClaw now blocks non-network schemes (such as file:, data:, and javascript:) while preserving about:blank.
openclaw (npm)<= 2026.2.19-22026.2.21220bd95eff6838234e8b4b711f86d4565e16e401patched_versions is pre-set to the planned next release (2026.2.21) so once npm 2026.2.21 is published, the advisory can be published directly.
OpenClaw thanks @q1uf3ng for reporting.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free