mediumVulnerability

GHSA-5h3g-6xhh-rg6p

## 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. OpenClaw thanks @VladimirEliTokarev for reporting.

Properties

ghsa_id
GHSA-5h3g-6xhh-rg6p
severity
medium
summary
OpenClaw: OpenShell FS bridge reads pin and verify the opened file before returning bytes
cve_id
GHSA-5h3g-6xhh-rg6p
is_ghsa_only
true
ghsa_published
2026-05-04T21:07:36Z
source_url
https://github.com/advisories/GHSA-5h3g-6xhh-rg6p
ghsa_updated
2026-05-04T21:07:39Z

Related Entities (4)

VULNERABLE_TO (1)

[Software]npm/OpenClaw

AFFECTS (1)

[Software]npm/OpenClaw

HAS_WEAKNESS (1)

[Weakness]Time-of-check Time-of-use (TOCTOU) Race Condition

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph