Openclaw cli: OpenClaw: ZIP extraction race could write outside destination via parent symlink rebind (CVE-2026-27670)
Description
A race condition vulnerability in the OpenClaw CLI ZIP extraction process allows an attacker to write files outside the intended extraction directory by exploiting a parent-directory symlink rebind between path validation and file write. This issue affects versions prior to 2026.3.2 and has been fixed in version 2026.3.2.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The OpenClaw CLI ZIP extraction function validated output paths before writing files, but the write operation occurred in a separate step. This separation allowed a local race condition where a parent-directory symlink could be rebound after validation but before writing, causing files to be written outside the intended extraction root directory. The vulnerability affects openclaw versions >=2026.1.29 and <2026.3.2. The patch hardens the write process by binding writes to the opened file handle identity, avoiding the pre-write truncate race, and adding shared file descriptor realpath verification.
Potential Impact
An attacker able to race the ZIP extraction process can cause files to be written outside the intended directory, potentially overwriting or creating files in arbitrary locations. This could lead to unauthorized file modification or code execution depending on the context in which OpenClaw is used.
Mitigation Recommendations
A patch is available and has been released in openclaw version 2026.3.2. Users should upgrade to version 2026.3.2 or later to remediate this vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-27670
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 4.0
Threat ID: 6ac245cb12601ec6a3167f25
Added to database: 10/04/2026, 12:25:47 UTC
Last enriched: 10/04/2026, 13:11:41 UTC
Last updated: 10/04/2026, 16:08:37 UTC
Views: 2
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.