CVE-2026-31992

7.1

OpenClaw · OpenClaw

OpenClaw contains an allowlist bypass vulnerability in system.run guardrails, allowing authenticated operators to execute unintended commands via env -S.

Executive summary

An allowlist bypass vulnerability in OpenClaw allows authenticated operators to execute unauthorized commands, potentially leading to system compromise.

Vulnerability

This vulnerability involves an incomplete list of disallowed inputs (CWE-184) within the system.run guardrails. Authenticated operators can exploit the allowlisting of /usr/bin/env by using the -S flag to bypass policy analysis and execute arbitrary shell wrapper payloads.

Business impact

Successful exploitation of this flaw allows an authenticated operator to execute unauthorized commands on the host system. Given the CVSS score of 7.1, this vulnerability presents a high risk to organizational integrity, as it enables privilege escalation or lateral movement within the environment. If left unpatched, attackers could gain unauthorized control over system processes, leading to potential data exfiltration or operational disruption.

Remediation

Immediate Action: Update the OpenClaw package to version 2026.2.23 or later to apply the necessary guardrail logic fixes.

Proactive Monitoring: Review system audit logs for suspicious usage of the env command, specifically looking for the use of the -S flag by service accounts or operators.

Compensating Controls: Restrict access to the affected management interface to trusted personnel only and implement strict egress filtering to prevent potential shell payloads from communicating with external Command and Control infrastructure.

Exploitation status

Public Exploit Available: Unknown.

Analyst recommendation

The risk posed by this vulnerability is significant due to the potential for unauthorized command execution by authenticated users. IT administrators should prioritize updating OpenClaw to version 2026.2.23 immediately to remediate the flaw. Until the patch is applied, ensure that access to the system is strictly limited to authorized personnel to minimize the attack surface.

More OpenClaw CVEs

Sources

Originally found and disclosed by tdjackey, per the CVE Program record.