OpenClaw has a Path Traversal in Browser Download Functionality
Summary
OpenClaw browser download helpers accepted an unsanitized output path. When invoked via the browser control gateway routes, this allowed path traversal to write downloads outside the intended OpenClaw temp downloads directory.
This issue is not exposed via the AI agent tool schema (no download action). Exploitation requires authenticated CLI access or an authenticated gateway RPC token.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected: >=2026.1.12, <=2026.2.12
- Fixed: >=2026.2.13
Details
Affected code: src/browser/pw-tools-core.downloads.ts (waitForDownloadViaPlaywright, downloadViaPlaywright).
Fixed entrypoints (as of 2026.2.13):
- Gateway browser control routes
/wait/downloadand/downloadnow restrictpathtoDEFAULT_DOWNLOAD_DIRviaresolvePathWithinRoot.
Fix Commit(s)
- 7f0489e4731c8d965d78d6eac4a60312e46a9426
Mitigation
Upgrade to openclaw >=2026.2.13.
Thanks @locus-x64 for reporting.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | openclaw | >= 2026.1.12, < 2026.2.13 | 2026.2.13 |
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-xwjm-j929-xq7c
- https://nvd.nist.gov/vuln/detail/CVE-2026-26972
- https://github.com/openclaw/openclaw/commit/7f0489e4731c8d965d78d6eac4a60312e46a9426
- https://github.com/openclaw/openclaw
- https://github.com/openclaw/openclaw/releases/tag/v2026.2.13
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-22- Platform
- npm
- Package
openclaw- Disclosed
- 18.02.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-xwjm-j929-xq7c - CC BY 4.0
Vulnerability history: openclaw
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 588
- First → latest
- 02.2026 07.2026
- Without a fix
- 9
- Exploited in attacks
- 0
Severity breakdown
- Critical 20
- High 215
- Medium 299
- Low 54
Disclosures per year
- 2026: 588
-
OpenClaw has a Path Traversal in Browser Download Functionality this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.