Description
OpenClaw before 2026.4.20 contains a guard bypass vulnerability in the agent-facing gateway config.patch and config.apply endpoints that fails to protect operator-trusted settings including sandbox policy, plugin enablement, gateway auth/TLS, hook routing, MCP server configuration, SSRF policy, and filesystem hardening. A prompt-injected model with access to the owner-only gateway tool can persist unauthorized changes to protected operator settings.
Published: 2026-05-11
Score: 6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenClaw versions prior to 2026.4.20 contain a missing‑authorization flaw in the agent‑facing gateway configuration endpoints config.patch and config.apply. The flaw allows an attacker who can use the owner‑only gateway tool, such as a prompt‑injected model, to make and persist unauthorized changes to operator‑trusted settings. These settings include sandbox policy, plugin enablement, gateway authentication and TLS, hook routing, MCP server configuration, SSRF policy, and filesystem hardening. The consequence is unauthorized modification of critical configuration, which can lead to a compromise of system integrity and potentially elevate the attacker’s privileges within the OpenClaw environment.

Affected Systems

The affected product is OpenClaw by OpenClaw. Versions before 2026.4.20 are vulnerable. The guard bypass occurs in the agent-facing gateway configuration endpoints config.patch and config.apply.

Risk and Exploitability

The CVSS score of 6 indicates a medium severity vulnerability. The exploitation probability is not available, so the likelihood of an attack remains uncertain, though it is not listed in CISA’s KEV catalog. Attackers would need access to the owner‑only gateway tool, which is typically used by trusted operators, suggesting that the threat likely originates from an internal actor or a compromised agent environment. Once the fault is exploited, the attacker can persist forbidden changes to protected operator settings, potentially disrupting service or enabling further escalated attacks.

Generated by OpenCVE AI on May 11, 2026 at 18:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to version 2026.4.20 or later, which fixes the missing‑authorization guard.
  • Ensure that the gateway.config.patch and gateway.config.apply endpoints are accessible only to users with appropriate authorization and that the owner‑only gateway tool is protected.
  • Disable or restrict the vulnerable endpoints until the patch is applied if an immediate upgrade is not feasible.

Generated by OpenCVE AI on May 11, 2026 at 18:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 11 May 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 11 May 2026 17:30:00 +0000

Type Values Removed Values Added
Description OpenClaw before 2026.4.20 contains a guard bypass vulnerability in the agent-facing gateway config.patch and config.apply endpoints that fails to protect operator-trusted settings including sandbox policy, plugin enablement, gateway auth/TLS, hook routing, MCP server configuration, SSRF policy, and filesystem hardening. A prompt-injected model with access to the owner-only gateway tool can persist unauthorized changes to protected operator settings.
Title OpenClaw < 2026.4.20 - Gateway Config Mutation Guard Bypass via Agent Tool Access
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-862
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N'}

cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-05-11T17:51:23.651Z

Reserved: 2026-05-08T16:43:53.067Z

Link: CVE-2026-45001

cve-icon Vulnrichment

Updated: 2026-05-11T17:51:08.173Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-11T18:16:40.237

Modified: 2026-05-12T14:20:56.547

Link: CVE-2026-45001

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-11T18:45:25Z

Weaknesses