CVE-2026-32898: OpenClaw ACP client has permission auto-approval bypass via untrusted tool metadata
The OpenClaw ACP client, in openclaw 2026.2.22-2 and earlier, auto-approved tool calls using the tool's own claimed kind and loose name matching. A malicious or compromised ACP tool call could skip the approval prompt for read-class operations. Fixed in 2026.2.23.
Published Feb 27, 2026 · Updated Mar 30, 2026 · Analysis Oct 31, 2026
What an attacker can do
The ACP client decides which tool calls need an interactive approval. Its permission code (resolvePermissionRequest, resolveToolNameForPermission and shouldAutoApproveToolCall) trusted the incoming toolCall.kind field and matched tool names by heuristic. An ACP tool could label itself as a read, or use a non-core name that looked like one, and reach the auto-approve path with no prompt. Read auto-approval was also not tied firmly to the working directory in every metadata and title form.
The attacker needs to control or compromise an ACP tool invocation, for example a malicious tool server or a compromised one that the client connects to. The CVSS vectors show network access and low privileges, with low confidentiality and integrity impact. In practice, the attacker gets reads the user never approved, possibly outside the project directory, and a way to slip operations past a prompt the user relies on. The advisory limits the bypass to read-class operations and does not claim code execution.
Who is affected
The openclaw npm package at 2026.2.22-2 and earlier, for setups that use the ACP client with tools you do not fully control. Version 2026.2.23 contains the fix.
npm ls -g openclaw
openclaw --versionopenclaw
- Ecosystem
- npm
- Affected
- <= 2026.2.22-2
- Fixed in
- 2026.2.23
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.23.
npm install -g [email protected]The fixes (commits 12cc7543 and 63dcd28a) require trusted core tool IDs for auto-approval and stop treating the incoming toolCall.kind as an authorization source. They limit read auto-approval to paths resolved against the cwd, add stricter tool-name validation, and add regression tests for spoofed kinds and non-core read-like names. The advisory gives no workaround.
How to tell if you were hit
Review ACP session logs for tool calls that ran without a prompt but came from tools with non-core names, or that carry a kind value of read. Look for reads of files outside the working directory, such as home-directory dotfiles or credential files, issued by an ACP tool. Compare the tools your ACP client has connected to against the ones you expect. If an AI agent is the caller, Beam's record of agent file access and MCP tool calls shows which files were read and by which tool.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Vulnerability Summary
The OpenClaw ACP client could auto-approve tool calls based on untrusted metadata and permissive name heuristics. A malicious or compromised ACP tool invocation could bypass expected interactive approval prompts for read-class operations.
Affected Packages / Versions
- Package: npm
openclaw - Affected published versions:
<= 2026.2.22-2(latest published as of February 24, 2026 is2026.2.22-2) - Patched in code on
main:2026.2.23(released)
Technical Details
- Permission classification trusted incoming
toolCall.kindand heuristic name matching. - Non-core read-like names and spoofed kind metadata could reach auto-approve paths.
readoperations were not scoped strongly enough to cwd in all metadata/title forms.
Fix
- Require trusted core tool IDs for auto-approval and ignore untrusted
toolCall.kindas an authorization source. - Scope
readauto-approval to cwd-resolved paths. - Add stricter tool-name validation and regression coverage for spoofed kind and non-core read-like names.
Affected Functions
resolvePermissionRequestresolveToolNameForPermissionshouldAutoApproveToolCall
Fix Commit(s)
12cc754332f9a7c92e158ce7644aa22df79c090463dcd28ae0be2de1c75af09cc81841cebeec068f
Found using MCPwner
Thanks @nedlir for reporting.
Credited to nedlir.
Questions
- Does this allow code execution?
The advisory only describes bypassing approval prompts for read-class operations. It does not claim command execution.
- Which version fixes the ACP auto-approval bypass?
openclaw 2026.2.23. Versions up to and including 2026.2.22-2 are affected.
- What does the attacker need?
A malicious or compromised ACP tool invocation that reaches the client. It can then spoof the kind metadata or use a non-core read-like tool name to be auto-approved.
- Is CVE-2026-32898 exploited in the wild?
No source reports exploitation, and it is not in CISA's KEV catalog.
References
Read for this analysis:
- https://github.com/openclaw/openclaw/commit/12cc754332f9a7c92e158ce7644aa22df79c0904
- https://github.com/openclaw/openclaw/commit/63dcd28ae0be2de1c75af09cc81841cebeec068f
- https://github.com/openclaw/openclaw/releases/tag/v2026.2.23
- https://nvd.nist.gov/vuln/detail/CVE-2026-32898
- https://www.vulncheck.com/advisories/openclaw-acp-permission-auto-approval-bypass-via-untrusted-tool-metadata
- https://github.com/advisories/GHSA-7jx5-9fjg-hp4m
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
