Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged local macOS user
-
DeliveryAccess OpenClaw Swift exec interface
-
ExploitCraft command using combined POSIX inline flag syntax
-
ExecutionSubmit combined flags to bypass allowlist parser
-
PersistExecute unauthorized shell content within exec context
-
ImpactAchieve high confidentiality and integrity impact
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) OpenClaw must be deployed on macOS and the Swift exec feature must be enabled and actively used - this feature is not present or exploitable on other platforms; (2) an operator must have configured a command allowlist within OpenClaw's exec feature - systems with no allowlist configured are not affected because there is no restriction to bypass; (3) the attacker must have a local, low-privileged account on the macOS host (PR:L per CVSS 4.0 vector). What limits exploitation: the attack is strictly local (AV:L), requires passive user interaction (UI:P), is blocked by the AT:P condition of the allowlist being present and configured, and is completely ineffective against default or unconfigured deployments. Remote unauthenticated exploitation is not possible per the CVSS vector. |
| Impact | The provided CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:P) scores 5.3, reflecting meaningful but contextually constrained risk. The AT:P (attack prerequisites present) metric is the critical risk limiter: the vulnerability is only reachable when an operator has explicitly configured an allowlist in the Swift exec feature, making it non-exploitable in default deployments that do not use this feature or have no allowlist defined. The PR:L metric confirms a low-privileged local account is required - unauthenticated or remote exploitation is not supported by the vector. VC:H and VI:H indicate that successful exploitation yields full confidentiality and integrity impact within the vulnerable system, which is severe. No EPSS data was supplied; however, the absence of KEV listing and no identified public exploit code suggests exploitation remains theoretical or limited in scope at this time. The local-only, low-privilege, configuration-dependent attack surface significantly narrows the realistic exposed population compared to the raw C:H/I:H impact metrics. |
| Exploit ScenarioDerived | A local user with a standard (low-privileged) account on a macOS system running OpenClaw with an operator-configured exec allowlist crafts a shell invocation using combined POSIX flag syntax - for example, submitting |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
OpenClaw's macOS Swift exec feature fails to correctly evaluate combined POSIX inline-command flags against its configured command allowlist, enabling a local low-privileged attacker to execute shell content that should be blocked. Affected versions are all OpenClaw releases before 2026.5.6 on macOS. Exploitation depends on an operator-configured allowlist being in place - when that allowlist is configured, a local user can bypass it entirely by using combined flag forms (e.g., -abc instead of -a -b -c), achieving high confidentiality and integrity impact. No public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade OpenClaw to version 2026.5.6 or later, which resolves the incomplete allowlist parsing by correctly normalizing combined POSIX inline-command flags before allowlist evaluation. The vendor patch is documented at https://github.com/openclaw/openclaw/security/advisories/GHSA-c226-q6fx-6j6c. As a compensating control for environments that cannot immediately upgrade, operators may disable the macOS Swift exec feature entirely if it is not operationally required - this eliminates the attack surface at the cost of losing exec functionality. If the feature must remain active, restricting the set of permitted local users who can invoke it (via OS-level access controls or sandboxing) reduces the pool of potential attackers, though it does not fix the underlying bypass. Tightening the allowlist to block all short combined flag patterns is not a reliable mitigation, as the number of possible combined forms is combinatorially large.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenClaw (CPE: cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*) implements a Swift-based exec feature on macOS that evaluates user-supplied commands against an operator-defined allowlist before execution. The root cause is CWE-184 (Incomplete List of Disallowed Inputs): the allowlist validation logic tokenizes or parses command-line flags individually and does not normalize combined POSIX short-option forms (e.g., -rfc being equivalent to -r -f -c). Because combined flag forms are not decomposed prior to allowlist comparison, they are treated as unknown/unrecognized tokens that fall outside the check, bypassing the intended restriction. This is a parsing inconsistency between how the allowlist engine interprets flags and how the underlying shell or exec syscall interprets them, a common class of security bypass in command filtering implementations on POSIX-compatible systems.
Know when Openclaw gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
AV:L and AC:H reflect local-only, allowlist-configuration-dependent exploitation; PR:L per CVSS 4.0 source; no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenClaw before 2026.5.6 contains an allowlist bypass vulnerability in the macOS Swift exec feature that misses combined POSIX inline-command flags. Attackers can execute shell content outside the intended allowlist check by using combined flag forms, potentially allowing unauthorized command execution depending on operator configuration.
Blast Radius
ecosystem impact- 1 npm packages depend on openclaw (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.5.6.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
EUVD-2026-37163
GHSA-c226-q6fx-6j6c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB