/

CVE-2026-100552

Severity:

HIGH RISK

(8.8)

Authorization Bypass (CWE-863) in OpenClaw Codex Tools

CVE-2026-100552

Deferred

Vulnerability type

Category:

Incorrect Authorization

CWE:

CWE-863

Impact:

Unauthorized command and file operations

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

OpenClaw does not consistently apply per-chat tool allowlists to native tools provided by the Codex app-server runtime. A participant who can trigger an agent in a lower-trust conversation may reach shell, process, file, or patch capabilities that the conversation policy intended to restrict, with impact depending on host permissions and sandboxing.

Affected context

The issue occurs in OpenClaw deployments that assign conversations to the Codex app-server runtime and rely on conversation-level tools.allow rules to limit capabilities. The policy filtered OpenClaw-owned tools but did not necessarily govern native tools exposed directly by the Codex runtime, particularly when those tools were available within a lower-trust conversation.

Exploit preconditions

  • Attack surface: Agent tool invocation through an OpenClaw conversation
  • Required access: Ability to participate in or trigger an agent assigned to the affected Codex runtime
  • Policy condition: A per-chat tool allowlist is configured to restrict available capabilities
  • Trigger point: The agent reaches a native Codex runtime tool during conversation processing
  • Why exploitation is possible: Authorization checks are applied inconsistently across OpenClaw tools and runtime-owned tools

Why this happens

The vulnerability results from an authorization boundary mismatch between OpenClaw's conversation-level tool policy and the tools exposed by the Codex app-server runtime. The allowlist constrained tools owned by OpenClaw but did not adequately enforce the same decision for native shell, process, file, and patch tools. This behavior maps to CWE-863: Incorrect Authorization, because a subject could access capabilities outside the permissions intended for its conversation context.

Potential impact

  • An attacker may execute commands with the permissions of the runtime host or container
  • An attacker could read, modify, or delete files accessible to the agent
  • Repository or workspace contents may be altered through native patch and file operations
  • The runtime environment could be used to access additional services or credentials
  • Weak sandboxing or excessive host permissions could increase the scope of compromise

General mitigation guidance

Mitigation generally focuses on enforcing authorization at the final tool-execution boundary rather than relying solely on conversation metadata.

Common defensive patterns include:

  • Applying one centralized allowlist to both application-owned and runtime-owned tools
  • Denying native command, process, file, and patch capabilities by default in lower-trust conversations
  • Treating conversation and agent inputs as untrusted when determining authorization
  • Running runtimes with least-privilege identities, isolated workspaces, and restrictive sandbox policies
  • Limiting access to host files, credentials, network services, and orchestration interfaces
  • Rechecking authorization whenever runtime capabilities are discovered or invoked

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis and code review checks comparing policy enforcement paths for application and runtime tools
  • Tests that verify denied tools remain unavailable when conversations are routed to alternate runtimes
  • Instrumentation of tool-dispatch events, including conversation identity, policy decisions, runtime ownership, and execution result
  • Alerts for shell, process, file, or patch operations originating from conversations that lack those permissions
  • Policy-as-code rules requiring default-deny behavior and centralized authorization at tool execution
  • Automated security review tools that identify inconsistent authorization checks across plugin or runtime boundaries

Sources

SourceLink
github.comgithub.com/openclaw/openclaw/security/advisories/GHSA-wwcw-jfpp-gpxw
vulncheck.comvulncheck.com/advisories/openclaw-before-2026.8.1-policy-bypass-via-native-tools

Frequently asked

questions

It can be exploitable through a conversation interface when an attacker can participate in or trigger an agent assigned to the affected Codex runtime. The practical scope depends on how the interface is exposed and what runtime capabilities are available.

Not necessarily. The relevant prerequisite is access to a conversation or agent trigger path governed by the incomplete tool policy. Host permissions, authentication controls, and sandbox configuration determine the resulting impact.

Enforce the conversation's authorization decision at the final tool-dispatch layer for every tool, including capabilities supplied by external runtimes. A default-deny model is preferable for lower-trust contexts.

Treat every runtime and plugin boundary as an authorization boundary, test tool policies across all execution paths, and use least-privilege sandboxing to limit the consequences of policy failures.

Find out what's already
exploitable in your codebase.