NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-28462: OpenClaw has a path traversal in browser trace/download output paths may allow arbitrary file writes

highCVSS 4.0 8.7 · 3.1 7.5GHSA-gq9c-wg68-gwj2

OpenClaw's browser control API took caller-supplied output paths for trace and download files without keeping them inside OpenClaw's temp directories. Someone who can reach the API can write files outside the intended roots, limited by process permissions. Versions below 2026.2.13 are affected. Upgrade to 2026.2.13 or later.

Published Feb 18, 2026 · Updated Mar 6, 2026 · Analysis Oct 31, 2026

What an attacker can do

Three browser control routes accept an output path: POST /trace/stop, POST /wait/download and POST /download. Before the fix they did not consistently check that the path stayed inside OpenClaw-managed temp roots, so a path with .. segments or an absolute path could land anywhere the process can write (CWE-22).

The attacker needs to reach the browser control API. The CVSS vector lists no privileges and no user interaction, so reachability is the real condition. The advisory limits the damage with the words "depending on process filesystem permissions". The file content is a browser trace or a downloaded file, which the attacker can influence by choosing what the browser downloads. Writing to places like shell startup files, cron directories or application config could then turn into code execution, though the advisory does not claim that.

The CVSS 3.1 vector scores integrity impact high and confidentiality none, 7.5. Instances where the control API is bound only to loopback and unreachable by untrusted callers are at lower risk.

Who is affected

The npm package openclaw at any version below 2026.2.13. Check:

npm ls -g openclaw
openclaw --version

Then find out who can reach the browser control API on your host. A listener exposed beyond loopback, or reachable through a proxy or tunnel, raises the risk.

openclaw

Ecosystem
npm
Affected
< 2026.2.13
Fixed in
2026.2.13
Check
npm ls openclaw

How to fix it

Upgrade to 2026.2.13 or later, the patched version (PR #15652, commit 7f0489e):

npm install -g [email protected]

The advisory notes the fix is also confirmed in v2026.2.14. A new helper in src/browser/routes/path-output.ts resolves the requested path against the allowed root and rejects traversal and escape paths with a 400 error. All three routes use it, and default output behavior is unchanged when no custom path is given. The advisory lists no workaround.

How to tell if you were hit

Review access logs for requests to /trace/stop, /wait/download and /download with output paths that are absolute or contain ... On the host, look for files written by the OpenClaw process outside its temp directories, especially in home directories, startup scripts and cron paths. Check file modification times against the dates of those requests.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

OpenClaw’s browser control API accepted user-supplied output paths for trace/download files without consistently constraining writes to OpenClaw-managed temporary directories.

Impact

If an attacker can access the browser control API, they could attempt to write trace/download output files outside intended temp roots, depending on process filesystem permissions.

Affected versions

openclaw < 2026.2.13

Fixed versions

openclaw >= 2026.2.13

Remediation

Upgrade to 2026.2.13 or later.

What changed

The fix constrains output paths for:

  • POST /trace/stop
  • POST /wait/download
  • POST /download

All three now enforce OpenClaw temp-root boundaries and reject traversal/escape paths.

Credits

Thanks to Adnan Jakati (@jackhax) of Praetorian for responsible disclosure.

Fix shipped in PR #15652 and merged to main on February 13, 2026 (7f0489e4731c8d965d78d6eac4a60312e46a9426).

---

Fix commit 7f0489e4731c8d965d78d6eac4a60312e46a9426 confirmed on main and in v2026.2.14. Upgrade to openclaw >= 2026.2.13.

Credited to jackhax.

Questions

Which version fixes CVE-2026-28462?

2026.2.13, per the package data. The advisory text says the fix is also confirmed in v2026.2.14, so any later version is safe.

Which endpoints are involved?

POST /trace/stop, POST /wait/download and POST /download on the browser control API.

Can it write anywhere on disk?

Only where the OpenClaw process has write permission. The advisory says exploitation depends on process filesystem permissions.

Is it exploited in the wild?

The sources do not report exploitation and it is not in CISA's KEV catalog.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries