mediumVulnerability

GHSA-7jx5-9fjg-hp4m

## 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 is `2026.2.22-2`) - Patched in code on `main`: `2026.2.23` (released) ## Technical Details - Permission classification trusted incoming `toolCall.kind` and heuristic name matching. - Non-core read-like names and spoofed kind metadata could reach auto-approve paths. - `read` operations 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.kind` as an authorization source. - Scope `read` auto-approval to cwd-resolved paths. - Add stricter tool-name validation and regression coverage for spoofed kind and non-core read-like names. ## Affected Functions - `resolvePermissionRequest` - `resolveToolNameForPermission` - `shouldAutoApproveToolCall` ## Fix Commit(s) - `12cc754332f9a7c92e158ce7644aa22df79c0904` - `63dcd28ae0be2de1c75af09cc81841cebeec068f` Found using [MCPwner](https://github.com/Pigyon/MCPwner) Thanks @nedlir for reporting.

Properties

ghsa_id
GHSA-7jx5-9fjg-hp4m
severity
medium
summary
OpenClaw ACP client has permission auto-approval bypass via untrusted tool metadata
cve_id
GHSA-7jx5-9fjg-hp4m
is_ghsa_only
true
ghsa_published
2026-02-27T22:08:36Z
source_url
https://github.com/advisories/GHSA-7jx5-9fjg-hp4m
ghsa_updated
2026-02-27T22:08:37Z

Related Entities (4)

AFFECTS (1)

[Software]npm/OpenClaw

HAS_WEAKNESS (2)

[Weakness]Authorization Bypass Through User-Controlled Key
[Weakness]Incorrect Authorization

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph