OpenClaw (npm package 'openclaw') before 2026.7.1 is vulnerable to a time-of-check time-of-use race condition in OpenShell local mirror filesystem… (CVE-2026-100597)
OpenClaw (npm package 'openclaw') versions before 2026.7.1 contain a time-of-check time-of-use (TOCTOU) race condition in the OpenShell local mirror filesystem mutation operations. This vulnerability affects the remove, mkdir, and rename operations, which can act on a different filesystem target if the path changes concurrently after the sandbox path-safety check. An attacker who wins the race can perform filesystem operations outside the intended sandbox with the permissions of the OpenClaw process user. The issue is fixed in version 2026.7.1.
AI Analysis
Technical Summary
The OpenClaw npm package prior to version 2026.7.1 suffers from a TOCTOU race condition in its OpenShell local mirror filesystem mutation operations. Specifically, the remove, mkdir, and rename functions perform a sandbox path-safety check but do not prevent the target path from being changed concurrently before the operation executes. This allows an attacker to cause these operations to affect host filesystem paths outside the sandbox, potentially deleting, creating, or renaming files with the privileges of the OpenClaw process user. This vulnerability does not require explicit host filesystem access permissions outside the sandbox. The vulnerability is addressed by updating to version 2026.7.1.
Potential Impact
Successful exploitation allows an attacker with limited privileges to manipulate host filesystem paths outside the sandbox, potentially leading to high impact including confidentiality, integrity, and availability compromise of the host system files. The attacker can delete, create, or rename files outside the intended sandbox with the permissions of the OpenClaw process user. This could lead to privilege escalation or system compromise depending on the environment and user privileges.
Mitigation Recommendations
Upgrade OpenClaw to version 2026.7.1 or later, where this TOCTOU race condition vulnerability is fixed. No other mitigation is required as the fix addresses the root cause.
OpenClaw (npm package 'openclaw') before 2026.7.1 is vulnerable to a time-of-check time-of-use race condition in OpenShell local mirror filesystem… (CVE-2026-100597)
Description
OpenClaw (npm package 'openclaw') versions before 2026.7.1 contain a time-of-check time-of-use (TOCTOU) race condition in the OpenShell local mirror filesystem mutation operations. This vulnerability affects the remove, mkdir, and rename operations, which can act on a different filesystem target if the path changes concurrently after the sandbox path-safety check. An attacker who wins the race can perform filesystem operations outside the intended sandbox with the permissions of the OpenClaw process user. The issue is fixed in version 2026.7.1.
CVSS v3.1
Score 7.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The OpenClaw npm package prior to version 2026.7.1 suffers from a TOCTOU race condition in its OpenShell local mirror filesystem mutation operations. Specifically, the remove, mkdir, and rename functions perform a sandbox path-safety check but do not prevent the target path from being changed concurrently before the operation executes. This allows an attacker to cause these operations to affect host filesystem paths outside the sandbox, potentially deleting, creating, or renaming files with the privileges of the OpenClaw process user. This vulnerability does not require explicit host filesystem access permissions outside the sandbox. The vulnerability is addressed by updating to version 2026.7.1.
Potential Impact
Successful exploitation allows an attacker with limited privileges to manipulate host filesystem paths outside the sandbox, potentially leading to high impact including confidentiality, integrity, and availability compromise of the host system files. The attacker can delete, create, or rename files outside the intended sandbox with the permissions of the OpenClaw process user. This could lead to privilege escalation or system compromise depending on the environment and user privileges.
Mitigation Recommendations
Upgrade OpenClaw to version 2026.7.1 or later, where this TOCTOU race condition vulnerability is fixed. No other mitigation is required as the fix addresses the root cause.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-6c5g-hrqv-57wr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-100597"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6ab74f24f7a7c54106e12ec4
Added to database: 09/26/2026, 04:50:44 UTC
Last enriched: 09/26/2026, 04:52:39 UTC
Last updated: 09/26/2026, 05:37:32 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.