---
id: CVE-2026-53866
title: 'OpenClaw: Shell inline-command parsing could miss an allowlist check'
summary: 'OpenClaw: Shell inline-command parsing could miss an allowlist check'
severity: high
cvss: 8.1
cwe:
  - CWE-184
vendor: openclaw
product: openclaw
ecosystem: npm
affected:
  - openclaw <= 2026.5.10-beta.1
patched:
  - openclaw 2026.5.12
published: '2026-06-18'
updated: '2026-06-18'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-f397-5vjw-v2c2'
references:
  - url: >-
      https://github.com/openclaw/openclaw/security/advisories/GHSA-f397-5vjw-v2c2
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53866'
  - url: >-
      https://www.vulncheck.com/advisories/openclaw-allowlist-bypass-in-shell-inline-command-parsing
  - url: 'https://github.com/advisories/GHSA-f397-5vjw-v2c2'
tags:
  - ghsa
  - npm
epss: 0.0045
epssPercentile: 0.36431
ingestedAt: '2026-06-29T14:31:47.021Z'
---

## Overview

### Summary

Shell inline-command parsing could miss an allowlist check. In affected versions, a command request using shell inline-command forms could route an inline command through a parser case that did not receive the expected allowlist decision.

This advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.

### Impact

When the affected feature is enabled and reachable, this could run shell content without the intended approval or allowlist prompt. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.

### Patched Versions

The first stable patched version is `2026.5.12`.

### Mitigations

require approval for shell inline-command forms until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.

## Affected packages

- `openclaw <= 2026.5.10-beta.1`

## Remediation

Upgrade to a patched release:

- `openclaw 2026.5.12`
