AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-22180: OpenClaw: Unified root-bound write hardening for browser output and related path-boundary flows

mediumCVSS 3.1 5.3GHSA-3pxq-f3cp-jmxp

OpenClaw up to 2026.3.1 has a path-confinement bypass in browser output handling that can let file writes land outside their intended root. It combines unsafe link resolution with a time-of-check race. Fixed in 2026.3.2. The advisory scores it 5.3, moderate, and requires a local low-privilege attacker.

Published Mar 3, 2026 · Updated Mar 18, 2026 · Analysis Nov 7, 2026

What an attacker can do

The advisory describes a path-confinement bypass in the way OpenClaw writes browser output. A write could end up outside its intended root. The weaknesses are CWE-59, improper link resolution, and CWE-367, a time-of-check to time-of-use race. The page gives no exploit detail, so the exact trigger is not public in the sources.

The CVSS vector is local, low complexity, low privileges and no user interaction, with unchanged scope and low impact on confidentiality, integrity and availability. That fits an attacker who already has a foothold on the host, or code in a lower-trust context that shares a directory with OpenClaw, and who rebinds a path (for example a symlink) between the check and the write.

The fix talks of symlink rebinding, which suggests that is the pattern. No CVE or exploit status is stated by the advisory text I read beyond the CVE id on this entry.

Who is affected

The npm package openclaw up to and including 2026.3.1. Check the version.

npm ls openclaw

Hosts where browser features are used and where other local users or processes can write to OpenClaw's output directories are the ones to look at first.

openclaw

Ecosystem
npm
Affected
<= 2026.3.1
Fixed in
2026.3.2
Check
npm ls openclaw

How to fix it

Upgrade to OpenClaw 2026.3.2 or later; the fix is commit 104d32bb. Browser output writes now use a root-bound commit flow that verifies file descriptors and inodes. Install and skills path checks share one canonical in-base validation routine. Regression tests cover symlink rebinding and root-bound source-path writes. The advisory names no workaround.

How to tell if you were hit

Look for symlinks in OpenClaw's browser output and install or skills directories.

find <openclaw-data-dir> -type l

Check for files written outside those directories at the same time as browser output was produced. Review who else has write access to the data directory. Beam records agent file access, which can show unexpected writes by an agent.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

A path-confinement bypass in browser output handling allowed writes outside intended roots in openclaw versions up to and including 2026.3.1.

The fix unifies root-bound, file-descriptor-verified write semantics and canonical path-boundary validation across browser output and related install/skills write paths.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published npm version at triage time: 2026.3.1
  • Affected range: <= 2026.3.1
  • Patched release: 2026.3.2 (released)

Fix Commit(s)

  • 104d32bb64cdf19d5e77f70553a511a2ae90ad1c

Technical Notes

  • Browser output writes now use root-bound, fd/inode-verified commit flow.
  • Install + skills path checks now share canonical in-base validation to reduce drift and close equivalent escape surfaces.
  • Added regression coverage for symlink-rebind and root-bound source-path write behavior.

Credited to tdjackey.

Questions

Which version fixes CVE-2026-22180?

OpenClaw 2026.3.2. Versions up to and including 2026.3.1 are affected.

Is it remotely exploitable?

The CVSS vector is local (AV:L) with low privileges and no user interaction, so the attacker needs access to the host.

How bad is it?

Moderate. The score is 5.3 with low confidentiality, integrity and availability impact.

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