NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-35655: OpenClaw's Conflicting Tool Identity Hints Bypass Dangerous-Tool Prompting

mediumCVSS 4.0 6.9 · 3.1 5.7GHSA-74wf-h43j-vvmj

OpenClaw's ACP client, before 2026.3.22, trusted the tool name in rawInput even when it conflicted with the name in metadata. A tool request could therefore look harmless to the permission check and skip the prompt that dangerous tools normally trigger. Upgrade openclaw to 2026.3.22 or later.

Published Mar 26, 2026 · Updated Apr 10, 2026 · Analysis Oct 31, 2026

What an attacker can do

When an ACP agent asks permission to run a tool, src/acp/client.ts works out which tool it is. The identity can come from three places: the request metadata, the rawInput, and the title. Before the fix, the code trusted rawInput even when it disagreed with the metadata. rawInput is content the agent or a remote side controls, so it is spoofable (CWE-807, reliance on untrusted input in a security decision).

A request could name a dangerous tool in its metadata but a safe one in rawInput. The permission logic then took the safe name and did not prompt the user. The user's approval step, the control meant to stop dangerous actions, was skipped.

The attacker needs a way to influence tool requests (PR:L), for example a malicious or prompt-injected ACP agent, and the CVSS vectors mark user interaction as present, because the user's session is where the prompt would have appeared. The impact is scored as high integrity: the tool runs with no confirmation. Teams who rely on those prompts as their safeguard for coding-agent sessions are the ones exposed.

Who is affected

Affected: the openclaw npm package before 2026.3.22, when it acts as an ACP client and relies on dangerous-tool prompting. Check the version:

npm ls openclaw
openclaw --version

openclaw

Ecosystem
npm
Affected
< 2026.3.22
Fixed in
2026.3.22
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.22 or later; 2026.3.23 and 2026.3.23-2 contain the fix.

npm install -g openclaw@latest

Fix commit e4c61723cd2d530680cc61789311d464ab8cdf60 makes src/acp/client.ts fail closed when the meta, rawInput and title tool identities conflict, instead of trusting rawInput. Regression tests in src/acp/client.test.ts cover conflicting hints. The advisory lists no workaround.

How to tell if you were hit

Review ACP permission logs and session records for tool calls that ran without a prompt where the tool name differs between the request metadata and rawInput. Look for dangerous tools (shell, file write, network) that executed with no approval event. Beam, if you run it next to your agents, records agent shell commands and tool calls, so you can compare what ran with what the user approved.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

ACP permission resolution trusted conflicting tool identity hints from rawInput and metadata, which could suppress dangerous-tool prompting.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected: < 2026.3.22
  • Fixed: >= 2026.3.22
  • Latest released tag checked: v2026.3.23-2 (630f1479c44f78484dfa21bb407cbe6f171dac87)
  • Latest published npm version checked: 2026.3.23-2

Fix Commit(s)

  • e4c61723cd2d530680cc61789311d464ab8cdf60

Release Status

The fix shipped in v2026.3.22 and remains present in v2026.3.23 and v2026.3.23-2.

Code-Level Confirmation

  • src/acp/client.ts now fails closed when meta, rawInput, and title tool identities conflict instead of trusting spoofable raw input.
  • src/acp/client.test.ts ships regressions for conflicting tool identity hints and dangerous-tool prompting.

OpenClaw thanks @zpbrent for reporting.

Credited to zpbrent.

Questions

What does "fails closed" mean here?

If the tool identities from meta, rawInput and title disagree, the client no longer picks one. It treats the request as unresolved, so the dangerous-tool prompt is not skipped.

Is user interaction needed?

The CVSS vectors mark user interaction as required or passive: the flaw lets an attacker avoid the prompt the user would otherwise see.

Which versions are fixed?

openclaw 2026.3.22 and later, including 2026.3.23 and 2026.3.23-2.

Is it exploited in the wild?

No source reports exploitation, and it is not in CISA's KEV catalog. The EPSS score is 0.0023.

References

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 entries