Code Injection in OpenClaw - CVE-2026-27165

 

Code Injection in OpenClaw - CVE-2026-27165

Published: May 4, 2026


Vulnerability identifier: #VU129410
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-27165
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenClaw
Affected software:
OpenClaw

Detailed vulnerability description

The vulnerability allows a remote attacker to inject attacker-controlled prompt text into the LLM context.

The vulnerability exists due to improper input validation in src/acp/event-mapper.ts when interpolating ACP resource_link metadata into prompt text. A remote attacker can supply crafted title or uri fields to inject attacker-controlled prompt text into the LLM context.


How to mitigate CVE-2026-27165

Install security update from vendor's website.

Sources