Skip to content

OpenShell FS bridge writes stay pinned to the sandbox mount root

High
steipete published GHSA-wppj-c6mr-83jj Apr 23, 2026

Package

npm openclaw (npm)

Affected versions

<= 2026.4.21

Patched versions

2026.4.22

Description

Summary

OpenShell FS bridge writes stay pinned to the sandbox mount root

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 writes could let a symlink swap redirect a write outside the intended local mount root.

Fix

OpenShell write paths now validate the canonical target against the mount root, reject unsafe symlink parents and symlink leaves for writes, and use root-scoped write helpers before syncing to the remote sandbox.

Fix Commit(s)

Verification

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

Thanks @VladimirEliTokarev for reporting.

Severity

High

CVE ID

No known CVE

Weaknesses

Time-of-check Time-of-use (TOCTOU) Race Condition

The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. Learn more on MITRE.

Credits