
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-27670 is a time-of-check time-of-use (TOCTOU) race condition vulnerability in OpenClaw's ZIP extraction logic that allows local attackers to write files outside the intended destination directory. It affects all OpenClaw (npm) versions up to and including 2026.3.1; version 2026.3.2 contains the fix. The vulnerability was published on March 19, 2026, with the security advisory originally filed on March 3, 2026. It carries a CVSS v3.1 base score of 5.3 (Medium) and a CVSS v4.0 base score of 5.8 (Medium) (GitHub Advisory, Feedly).
The root cause is a TOCTOU race condition (CWE-367) combined with improper link resolution (CWE-59) in src/infra/archive.ts. During ZIP extraction, the code previously validated output paths and then opened/truncated the destination file in a separate, non-atomic step. A local attacker can exploit the timing window between path validation and the actual file write by rebinding a parent directory symlink — replacing a legitimate directory with a symlink pointing to an arbitrary location outside the extraction root — causing the write to land outside the intended destination. The fix, introduced in commit 7dac9b05, hardens the process by binding writes to the opened file handle identity, using O_EXCL/O_NOFOLLOW flags, performing realpath verification via src/infra/fs-safe.ts, and deferring truncation until after all identity and boundary checks are complete (GitHub Advisory, Fix Commit).
Successful exploitation allows a local attacker with low privileges to redirect ZIP extraction writes to arbitrary filesystem locations outside the intended extraction root. Depending on which files are overwritten, this could result in corruption or replacement of critical system or application files, potentially leading to privilege escalation, denial of service, or arbitrary code execution. Confidentiality impact is assessed as none, while integrity impact is high and availability impact is low (GitHub Advisory, Feedly).
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time. The vulnerability requires local access and low privileges, and exploitation is rated high complexity due to the need to win a race condition. The EPSS score is approximately 0.011% (0.000110), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (Feedly, GitHub Advisory).
slot/) that will be used as a parent directory during extraction.slot/ directory as a legitimate directory initially pointing inside the extraction root.slot/target.txt with attacker-controlled content intended to overwrite a sensitive file outside the extraction root.slot/ directory with a symlink pointing to a target directory outside the extraction root (e.g., a system configuration directory).auditd on Linux) showing symlink, unlink, and open syscalls on extraction subdirectories in rapid succession; Node.js process logs indicating destination-symlink-traversal errors if a patched version detects the attack (GitHub Advisory).Upgrade OpenClaw (npm) to version 2026.3.2 or later, which contains the security fix introduced in commit 7dac9b05dd9d38dd3929637f26fa356fd8bdd107. Until patching is feasible, restrict local user access to systems running vulnerable OpenClaw versions and monitor ZIP extraction directories for suspicious symlink activity. Implementing file system integrity monitoring (e.g., with auditd or similar tools) to detect unauthorized writes outside expected extraction directories is recommended as an interim measure (GitHub Advisory, Fix Commit).
The vulnerability was reported by researcher tdjackey and the advisory was published by steipete on the OpenClaw GitHub repository. No significant broader media coverage or notable public researcher commentary beyond the official advisory has been identified at this time (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."