CVE-2026-27524: OpenClaw: prototype pollution bypasses command gate
MEDIUMOpenClaw versions before 2026.2.21 contain a prototype pollution flaw (CWE-1321) in the /debug set override path, enabling any low-privileged user with debug access to inject __proto__, constructor, or prototype keys and corrupt shared JavaScript object prototypes at runtime. While the CVSS score is medium (4.3), this vulnerability sits at the 86th EPSS percentile, meaning it is more likely to be exploited than 86% of published CVEs — and OpenClaw's track record of 396 CVEs in the same package signals systemic code quality issues that warrant elevated scrutiny. In an AI agent context, a command gate bypass does not stay contained: once authorization checks evaluate against adversary-controlled prototype values, restricted agent operations — privileged tool calls, sensitive workflows, system-level commands — become accessible to any user who can reach the debug endpoint. Upgrade to 2026.2.21 immediately; if patching is blocked, restrict /debug set to hardened admin accounts and audit agent permission grants for unauthorized debug access.
What is the risk?
Risk is moderate-to-elevated in AI agent deployments despite the medium CVSS score. The low privileges required (PR:L) and network-accessible attack vector mean any developer or service account with debug permissions is a potential threat actor — no admin escalation needed before reaching the debug endpoint. The integrity impact is bounded to command gate bypass rather than data exfiltration or model corruption, but within agentic pipelines where agents autonomously chain tool calls, that bypass can cascade to unrestricted command execution. The package's 396-CVE history and only 4 downstream dependents limits external blast radius, but the 86th EPSS percentile and the openly published patch commit mean a working exploit is straightforward to derive. Organizations running OpenClaw in internal developer environments or CI/CD pipelines should treat this as P2 remediation.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenClaw | pip | — | No patch |
Do you use OpenClaw? You're affected.
How severe is it?
What is the attack surface?
What should I do?
5 steps-
Patch: Upgrade OpenClaw to 2026.2.21 or later (patch commit fbb79d4013000552d6a2c23b9613d8b3cb92f6b6).
-
Restrict: If immediate patching is blocked, revoke /debug set permissions from all non-admin accounts; this is the single access control gate protecting the vulnerable path.
-
Detect: Audit /debug set call logs for payloads containing __proto__, constructor, or prototype as key names — any such pattern indicates active exploitation attempts and should trigger an alert.
-
Validate: Audit agent permission grants and reset agent configurations to known-good baselines in case the command gate was already bypassed before detection.
-
Inventory: Identify any internal tooling or CI pipelines that depend on OpenClaw and apply the patch upstream before re-enabling those integrations.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-27524?
OpenClaw versions before 2026.2.21 contain a prototype pollution flaw (CWE-1321) in the /debug set override path, enabling any low-privileged user with debug access to inject __proto__, constructor, or prototype keys and corrupt shared JavaScript object prototypes at runtime. While the CVSS score is medium (4.3), this vulnerability sits at the 86th EPSS percentile, meaning it is more likely to be exploited than 86% of published CVEs — and OpenClaw's track record of 396 CVEs in the same package signals systemic code quality issues that warrant elevated scrutiny. In an AI agent context, a command gate bypass does not stay contained: once authorization checks evaluate against adversary-controlled prototype values, restricted agent operations — privileged tool calls, sensitive workflows, system-level commands — become accessible to any user who can reach the debug endpoint. Upgrade to 2026.2.21 immediately; if patching is blocked, restrict /debug set to hardened admin accounts and audit agent permission grants for unauthorized debug access.
Is CVE-2026-27524 actively exploited?
No confirmed active exploitation of CVE-2026-27524 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-27524?
1. Patch: Upgrade OpenClaw to 2026.2.21 or later (patch commit fbb79d4013000552d6a2c23b9613d8b3cb92f6b6). 2. Restrict: If immediate patching is blocked, revoke /debug set permissions from all non-admin accounts; this is the single access control gate protecting the vulnerable path. 3. Detect: Audit /debug set call logs for payloads containing __proto__, constructor, or prototype as key names — any such pattern indicates active exploitation attempts and should trigger an alert. 4. Validate: Audit agent permission grants and reset agent configurations to known-good baselines in case the command gate was already bypassed before detection. 5. Inventory: Identify any internal tooling or CI pipelines that depend on OpenClaw and apply the patch upstream before re-enabling those integrations.
What systems are affected by CVE-2026-27524?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, agentic pipelines, AI agent orchestration, multi-agent systems.
What is the CVSS score for CVE-2026-27524?
CVE-2026-27524 has a CVSS v3.1 base score of 4.3 (MEDIUM). The EPSS exploitation probability is 0.24%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0049 Exploit Public-Facing Application AML.T0053 AI Agent Tool Invocation AML.T0081 Modify AI Agent Configuration AML.T0107 Exploitation for Defense Evasion Compliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw versions prior to 2026.2.21 accept prototype-reserved keys in runtime /debug set override object values, allowing prototype pollution attacks. Authorized /debug set callers can inject __proto__, constructor, or prototype keys to manipulate object prototypes and bypass command gate restrictions.
Exploitation Scenario
An attacker with low-privilege access to an OpenClaw-powered AI agent — such as an internal developer, a compromised CI service account, or a threat actor who phished a user with debug permissions — issues a /debug set override call with a payload containing {'__proto__': {'isAdmin': true}} or {'constructor': {'prototype': {'allowedCommands': ['*']}}}. This pollutes the shared JavaScript object prototype, causing subsequent command gate authorization checks to read adversary-controlled values from the prototype chain instead of the legitimate role-based access control list. The attacker can then invoke previously restricted agent commands — privileged tool calls, sensitive configuration reads, or system-level operations — without triggering the intended access controls. Given OpenClaw's documented skills ecosystem and prior abuse of that ecosystem to deliver credential stealers (AIID #1368), an adversary could chain this with malicious skill invocation to execute code outside the intended agent sandbox with minimal detection footprint.
Weaknesses (CWE)
CWE-1321 — Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'): The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
- [Implementation] By freezing the object prototype first (for example, Object.freeze(Object.prototype)), modification of the prototype becomes impossible.
- [Architecture and Design] By blocking modifications of attributes that resolve to object prototype, such as proto or prototype, this weakness can be mitigated.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N References
Timeline
Related Vulnerabilities
CVE-2026-33579 9.9 OpenClaw: scope bypass escalates low-priv to admin
Same package: openclaw CVE-2026-32922 9.9 OpenClaw: privilege escalation to RCE via token scope bypass
Same package: openclaw CVE-2026-30741 9.8 OpenClaw: RCE via request-side prompt injection
Same package: openclaw CVE-2026-32038 9.8 OpenClaw: sandbox bypass enables container lateral movement
Same package: openclaw CVE-2026-53838 9.8 OpenClaw: approval scope bypass via reconnection state
Same package: openclaw