Skip to main content
EPSS 0.1%top 98%

Openclaw cli: OpenClaw's system.run approval TOCTOU via mutable symlink cwd target on node host (CVE-2026-32043)

0
High
Published: 08/13/2026 (08/13/2026, 17:21:32 UTC)
Source: GCVE Database
Product: openclaw-cli

Description

OpenClaw CLI versions up to 2026.2.24 have a time-of-check to time-of-use (TOCTOU) vulnerability in the system.run approval process on node hosts. This occurs because the current working directory (cwd) used for approval can be a mutable symlink, which may be changed between approval and execution, potentially allowing command execution in an unintended directory. The vulnerability affects operator-reviewed command execution trust boundaries. A patch is available in version 2026.2.25 that rejects symlink cwd paths and strengthens approval binding.

CVSS v4.0

Attack Vector
Local
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

Homebrewmore threats →ghsa
openclaw-cli
pkg:brew/openclaw-cli
Affected versions
>=2026.1.29 <2026.2.25

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

AILast updated: 10/04/2026, 13:03:22 UTC

Technical Analysis

In [email protected] and earlier, the system.run approval process validates the cwd path as text during approval but resolves it at runtime on the node host. If the cwd is a symlink, it can be retargeted after approval but before command execution, creating a TOCTOU race condition. This undermines the integrity of the approval process, which is a security boundary for operator-reviewed commands. The patch in 2026.2.25 rejects symlink cwd paths, canonicalizes executable argv paths before spawn, and binds CLI approval requests to exact command arguments to prevent this issue.

Potential Impact

This vulnerability could allow an attacker with limited privileges to influence the directory context of approved commands on node hosts by manipulating symlink targets between approval and execution. This may lead to execution of commands in unintended directories, potentially bypassing intended security controls tied to the approval process. However, the trust model assumes a non-adversarial shared gateway, limiting the scope of exploitation.

Mitigation Recommendations

A fix is available in openclaw version 2026.2.25 and later. Users should upgrade to this version to mitigate the TOCTOU vulnerability. The patch rejects symlink cwd paths for approval-bound system.run commands, canonicalizes executable argument paths before execution, and binds CLI approval requests to exact command arguments. No additional mitigation actions are required beyond applying the official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-openclaw-cli-CVE-2026-32043
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
4.0

Threat ID: 6ac245bb12601ec6a3166bdf

Added to database: 10/04/2026, 12:25:31 UTC

Last enriched: 10/04/2026, 13:03:22 UTC

Last updated: 10/04/2026, 16:08:37 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses