OpenClaw Vulnerability: Time-of-Check/Time-of-Use Race Condition in OpenShell FS Bridge

openclaw Updated 11 May 2026

Summary

06/05/2026
MODERATE
Yes i
Moderate
5.3

GHSA-6f72-9gxx-98mj: Duplicate Advisory: OpenClaw: OpenShell FS bridge writes stay pinned to the sandbox mount root. Affects openclaw versions < 2026.4.22. Fixed in 2026.4.22. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OpenClaw is an open-source package designed for managing sandboxed filesystem operations within applications. It allows developers to create secure environments for file operations, ensuring that files are written only within designated mount points. However, a vulnerability has been identified in versions prior to 2026.4.22, which exposes the package to potential security risks due to improper handling of filesystem writes.

Vulnerability Detail

The vulnerability arises from a time-of-check/time-of-use race condition in OpenShell's sandbox filesystem writes. This flaw allows attackers to exploit symlink swaps during filesystem operations, enabling them to redirect writes outside the intended mount root. As a result, malicious actors can bypass sandbox restrictions, potentially leading to unauthorized file access or modification. The severity of this vulnerability is classified as moderate, with a CVSS score of 5.3, indicating a significant risk to applications utilizing OpenClaw.

How To Fix

Latest published version: 2026.10.6 as of 22 Oct 2026

npm install openclaw@2026.10.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2026.4.22

This is the first release that contains the fix.

npm install openclaw@2026.4.22

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not feasible, consider implementing strict access controls on filesystem operations to limit the potential impact of this vulnerability. Additionally, avoid using symlinks in sensitive filesystem operations until the package is updated.

Conclusion

The OpenClaw vulnerability presents a significant risk due to a time-of-check/time-of-use race condition in its sandbox filesystem operations. It is crucial for developers using this package to update to the latest version to mitigate potential security threats. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for openclaw →

Share this vulnerability

FAQ

The vulnerability is a time-of-check/time-of-use race condition that allows attackers to redirect filesystem writes outside the intended mount root.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

If exploited, attackers can bypass sandbox restrictions, leading to unauthorized file access or modification, which could compromise application security.

Yes, the vulnerability has been patched in version 2026.4.22 of OpenClaw. It is recommended to update to this version or later.

Implement strict access controls on filesystem operations and avoid using symlinks in sensitive operations until you can upgrade.

Related vulnerabilities

Recent vulnerabilities recorded for openclaw.

How To Fix

Latest published version: 2026.10.6 as of 22 Oct 2026

npm install openclaw@2026.10.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2026.4.22

This is the first release that contains the fix.

npm install openclaw@2026.4.22

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.