AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-44113: OpenClaw: OpenShell FS bridge reads pin and verify the opened file before returning bytes

mediumCVSS 4.0 6.0 · 3.1 5.3GHSA-5h3g-6xhh-rg6p

OpenClaw's OpenShell sandbox filesystem bridge checked a path and then opened it in separate steps. Swapping a symlink between the two steps could make a read return bytes from outside the intended mount root. openclaw 2026.4.21 and earlier are affected. Upgrade to 2026.4.22.

Published May 4, 2026 · Updated May 12, 2026 · Analysis Nov 11, 2026

What an attacker can do

This is a time-of-check to time-of-use race (CWE-367) in the OpenShell FS bridge reads. The bridge validated that a file sat inside the sandbox mount root, but a symlink swap after that check could redirect the actual open to another file. The bridge then returned the bytes of that file.

The result is a read outside the sandbox boundary. The CVSS vectors show high confidentiality impact only, with no integrity or availability impact. They also show high attack complexity and low privileges, since the attacker must win a race and be able to place or change a symlink inside the mounted tree. The advisory does not say how the attacker gets that foothold.

The case that matters is an agent working inside an OpenShell sandbox that handles untrusted content, such as a cloned repository or generated files. If that content can create symlinks, it may be able to leak host files such as configuration or credentials that the sandbox was supposed to hide.

Who is affected

The npm package openclaw, versions up to and including 2026.4.21. The flaw sits in the OpenShell sandbox filesystem bridge, so setups that do not use OpenShell are less likely to be exposed.

npm ls -g openclaw
openclaw --version

openclaw

Ecosystem
npm
Affected
<= 2026.4.21
Fixed in
2026.4.22
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.4.22.

npm install -g [email protected]

The fix commit is 95119017c847c737bd113f0bff728c4666d79c45. OpenShell reads now open the file with no-follow semantics where available, validate the pinned file descriptor against the canonical mount root, reject unsafe hardlink and symlink cases, and use a strict ancestor walk on platforms that cannot read back the path of a descriptor. The advisory lists no workaround.

How to tell if you were hit

The advisory gives no log indicator. Inspect directories mounted into OpenShell sandboxes for symlinks or hardlinks that point outside the mount root, and look for links that were created and replaced in quick succession. Review what the agent read in those sessions against the files you expect it to touch.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

OpenShell FS bridge reads pin and verify the opened file before returning bytes

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: <= 2026.4.21
  • Fixed version: 2026.4.22

Impact

A time-of-check/time-of-use race around OpenShell sandbox filesystem reads could let a symlink swap cause bytes outside the intended mount root to be read.

Fix

OpenShell reads now open the file with no-follow semantics where available, validate the pinned file descriptor against the canonical mount root, reject unsafe hardlink/symlink cases, and use a strict fallback ancestor walk on platforms without fd-path readback.

Fix Commit(s)

  • 95119017c847c737bd113f0bff728c4666d79c45

Verification

  • The fix commit is contained in the public v2026.4.22 tag.
  • [email protected] is published on npm and the compiled package contains the fix.
  • Focused regression coverage for this path passed before publication.

Thanks @VladimirEliTokarev for reporting.

Credited to VladimirEliTokarev.

Questions

What does CVE-2026-44113 let an attacker do?

Read files outside the OpenShell mount root by swapping a symlink during the race between the path check and the file open. It does not allow writes, according to the CVSS vectors.

Which version fixes it?

openclaw 2026.4.22. Versions up to 2026.4.21 are affected, and the fix commit is in the public v2026.4.22 tag.

Is it easy to exploit?

Not especially. The vectors rate attack complexity as high, because the attacker must win a race, and require low privileges.

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