Skip to main content
Vulnerability Database/CVE-2026-100561

CVE-2026-100561: OpenClaw npm Package Auth Bypass Vulnerability

CVE-2026-100561 is an authentication bypass flaw in OpenClaw npm package that lets attackers execute arbitrary commands without approval by exploiting wrapper trust gaps. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-100561 Overview

CVE-2026-100561 is an approval-bypass vulnerability in the OpenClaw npm package (openclaw) affecting versions >= 2026.3.22 and < 2026.8.1. The flaw resides in the exec approval policy, which trusts command-running wrappers without inspecting the inner command carried in their arguments. Once an operator permanently approves or allowlists a benign wrapper invocation, a subsequent agent turn can substitute an arbitrary inner command and execute it with the OpenClaw process privileges without triggering a new approval prompt. The weakness is categorized as [CWE-88] Improper Neutralization of Argument Delimiters in a Command. OpenClaw released version 2026.8.1 to address the issue.

Critical Impact

Attackers who influence agent turns can smuggle arbitrary commands through previously approved wrappers and execute them with host-level privileges held by the OpenClaw process.

Affected Products

  • OpenClaw npm package openclaw version >= 2026.3.22
  • OpenClaw npm package openclaw version < 2026.8.1
  • Deployments relying on transparent shell carriers, process monitors, tracers, namespace tools, or proxy wrappers resolved on the host

Discovery Timeline

  • 2026-09-26 - CVE-2026-100561 published to NVD
  • 2026-09-29 - Last updated in NVD database

Technical Details for CVE-2026-100561

Vulnerability Analysis

OpenClaw enforces an exec approval policy that gates command execution requested by an AI agent. The policy records operator decisions keyed on the invoked wrapper rather than the full command tree. When a wrapper such as a shell carrier, process tracer, namespace helper, or proxy utility is approved, OpenClaw treats future invocations of that wrapper as pre-authorized. The policy does not re-evaluate the inner command passed through the wrapper's arguments.

An attacker who can shape agent output after approval can request the same wrapper with a different payload argument. OpenClaw matches the wrapper against the approval cache and dispatches execution. The host then runs the attacker-supplied inner command with the OpenClaw process privileges.

Root Cause

The root cause is incomplete argument neutralization during trust resolution ([CWE-88]). The approval policy identifies the executable but does not parse or validate the subcommand carried in argv. Opaque utilities compound the issue because their argument semantics are not normalized before the trust lookup.

Attack Vector

Exploitation requires that the wrapper resolves on the host and that an operator previously approved or allowlisted that wrapper for the session or persistently. The attacker then needs the ability to influence a later agent turn so the agent emits a wrapper invocation with an attacker-controlled inner command. User interaction is limited to the initial approval; no additional prompt is shown for the smuggled command.

The vulnerability is described in prose only. Refer to the GitHub Security Advisory GHSA-ghpx-6xwq-2w4w and the VulnCheck Advisory - OpenClaw Authentication Bypass for additional technical context.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-100561

Indicators of Compromise

  • Child processes spawned by the OpenClaw Node.js process that invoke shell carriers such as sh, bash, or env with unexpected inner commands.
  • Execution of process tracers (strace, ltrace), namespace tools (unshare, nsenter), or proxy wrappers (sudo -E, proxychains) carrying commands unrelated to the operator's approved workflow.
  • Approval cache entries in OpenClaw session state referencing wrappers followed by divergent command histories.

Detection Strategies

  • Compare approved wrapper invocations against subsequently executed inner commands and alert on mismatches.
  • Baseline the set of commands an OpenClaw agent normally issues and flag deviations in argv[1..n] for approved wrappers.
  • Correlate agent turn transcripts with process execution telemetry to identify commands that were never surfaced in an approval prompt.

Monitoring Recommendations

  • Enable process creation auditing on hosts running OpenClaw and capture full command lines, parent process, and user context.
  • Forward Node.js runtime logs and OpenClaw approval decisions to a central store for retrospective hunting.
  • Monitor for new installations of wrapper utilities on hosts where OpenClaw runs, since availability of a wrapper is a precondition for exploitation.

How to Mitigate CVE-2026-100561

Immediate Actions Required

  • Upgrade the openclaw npm package to version 2026.8.1 or later on every host and build pipeline.
  • Revoke any persistent approvals or allowlists granted under affected versions and require re-approval under the patched policy.
  • Audit historical agent transcripts and process execution logs for wrapper invocations carrying unexpected inner commands.

Patch Information

The maintainers fixed CVE-2026-100561 in OpenClaw 2026.8.1. The patched release updates the exec approval policy to inspect the inner command carried by wrapper utilities before authorizing execution. Details are published in the GitHub Security Advisory GHSA-ghpx-6xwq-2w4w.

Workarounds

  • Remove or restrict access to shell carriers, tracers, namespace tools, and proxy wrappers on hosts running OpenClaw where they are not required.
  • Run the OpenClaw process under a least-privilege account so smuggled commands execute with reduced host rights.
  • Disable persistent approvals and require per-invocation operator confirmation until the patched version is deployed.
bash
# Configuration example
npm install openclaw@2026.8.1
npm ls openclaw

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.