// threat brief
OpenClaw MCP configuration missing owner authorization: authorized non-owner senders can save a command that runs on the host
- CVSS
- 8.8 HIGH
- CISA KEV
- Not listed
- Weakness
- CWE-862 · CWE-78
- Topics
- AI security
AI review 2026-09-30 (not human-reviewed)Command tests: none yetReproduced: not yetVerification record ↓
In OpenClaw before 2026.7.1, authorized non-owner external-channel senders could use /mcp set or /mcp unset to save an MCP command run with its privileges.
| Who is affected | Deployments of the npm package openclaw before 2026.7.1 that have authorized external-channel senders who are not the owner. The vendor advisory does not list whether /mcp is enabled as a condition, but the official docs and source code just before the fix show the /mcp chat commands off by default, usable only with commands.mcp: true; whether earlier versions had this switch is unknown. |
|---|---|
| What happens | If those conditions hold, an authorized sender who is not the owner can get a command of their choice to run with the privileges of the system user running OpenClaw, which could affect the host's confidentiality, integrity and availability. |
| What to do now | Upgrade openclaw to 2026.7.1 or later. Until then, follow the vendor's advice to disable MCP chat commands in external channels, and check your configured MCP servers for entries you don't recognize. |
| Affected versions | All versions below 2026.7.1 (vendor advisory and CVE record; no source says which version introduced the flaw). The npm versions 2026.7.1-1, 2026.7.1-2 and 2026.6.33 to 2026.6.35 (published after 2026.7.1) are also below 2026.7.1 by semver, and the vendor does not say whether they contain the fix; per the git history, the first two include fix commit ad5a26c and the last three do not |
| Fixed versions | 2026.7.1 or later (released 2026-07-13) |
| CVSS vector | Show full vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Timeline |
|
Blue team playbook
Check, fix / mitigate, respond, harden. Matching the affected versions does not mean you were compromised, and a check that finds nothing does not prove you are safe; each item says what it can and cannot show. Tagged steps point to where the attack flow below can be stopped.
- 01Check your openclaw version
Versions below 2026.7.1 are affected, and 2026.7.1-1, 2026.7.1-2 and 2026.6.33 to 2026.6.35 are also in range by semver (see Who is affected). The official install is global (npm install -g), so you need -g to see it. openclaw --version also prints the version, but the official update docs say that if package scripts were skipped at install time, the CLI completes the pending lifecycle before running any command, including --version, so it is not always a pure read; the command here lists only npm ls -g. Also check whether any authorized senders are not the owner and whether commands.mcp is set to true in your configuration. The official docs at the commit just before the fix (259877d) say /mcp is disabled by default and enabled with commands.mcp: true, and the v2026.6.35 source also checks commands.mcp first, so at least in those pre-fix versions /mcp is unavailable unless commands.mcp is turned on. Whether earlier versions had this switch is unknown, so very old versions should still be upgraded.
Read-only checknpm ls -g openclaw - 02Inspect configured MCP servers
The vendor advises inspecting configured MCP servers for unexpected entries, especially stdio commands you never added.
- 01Upgrade to 2026.7.1 or later
This is the vendor's fix; 2026.7.1 is the first stable patched version. The official docs recommend openclaw update, which detects how OpenClaw was installed. To upgrade manually, use npm i -g openclaw@latest --allow-scripts=openclaw (omit --allow-scripts=openclaw on npm 11.15 and earlier), stopping a service-managed Gateway first and restarting it afterward. The docs also say installations older than June 2026 should upgrade to 2026.9.5 first, run openclaw doctor --fix, then upgrade to the latest version. Confirm the version afterward with the detection command above.
Changes your environmentopenclaw update - 02Can't upgrade yet: disable MCP chat commands in external channels
This is the vendor's interim workaround. The /mcp chat commands are controlled by the global setting commands.mcp. The official docs at the commit just before the fix (259877d) say /mcp is disabled by default and enabled with commands.mcp: true, the v2026.6.35 source also checks commands.mcp first, and current docs still default it to false; setting commands.mcp to false or removing it turns /mcp off. Whether earlier versions had this switch is unknown, so check your own configuration. The docs also have a per-channel setting, channels.<provider>.configWrites, described as gating config mutations per channel (default true), but they don't say whether it covers /mcp, so don't count on it as a confirmed mitigation.
- 01Remove unknown MCP entries and treat the host as possibly compromised
PlainCVE suggestion: if you find stdio MCP commands the owner did not add, remove them, then review the files and credentials the OpenClaw user can reach and rotate them if needed.
- 01Run OpenClaw with a least-privilege account
PlainCVE suggestion: an injected command inherits the OpenClaw process's privileges, so a less privileged account means less damage.
- 02Enable configuration-changing chat commands only when needed
PlainCVE suggestion: senders on external channels are not necessarily fully trusted, so commands that change host configuration should stay off.
Full remediation steps and notes
- Upgrade. Run
npm ls -g openclawto see your version (openclaw --versionalso works, but per the official update docs, if package scripts were skipped at install time it first completes the pending lifecycle); if it is below 2026.7.1, upgrade toopenclaw@2026.7.1or later (the vendor’s advice). The official docs recommendopenclaw updatefor upgrading; for installations older than June 2026, the docs say to upgrade to 2026.9.5 first and runopenclaw doctor --fixbefore moving to the latest version. - Check configuration before and after upgrading. Our analysis: upgrading may not remove entries that were saved earlier. After upgrading, still follow the vendor’s advice to inspect configured MCP servers for unexpected entries.
- About the fix commit. The official 2026.7.1 release notes say authorized non-owner chat participants can no longer inspect or change owner-controlled MCP server configuration through
/mcp, and link that change to commitad5a26c(which adds an owner check to the /mcp command). The release notes don’t mention the CVE ID; matching it to this CVE is our analysis based on the content. The commit OSV marks as fixed,2d2ddc4, appears to be the v2026.7.1 release tag commit. Another commit,2aa93d4(#69774), also tightened owner checks, but its changelog entry is from around 2026.4.20 and does not mention /mcp or this CVE. To decide whether you are fixed, still go by a stable version of 2026.7.1 or later.
Attack flow
Read left to right: this is the order the attack happens in. A blue shield means the step can be stopped; the earlier, the better. Click an icon for details.
Read top to bottom: this is the order the attack happens in. A blue shield means the step can be stopped; the earlier, the better. Tap an icon for details.
- Attacker
An authorized non-owner sends /mcp set or /mcp unset in an external channel
The attacker is not anonymous: they must already be allowed to send messages on an external channel, just not as the owner.
Defense: Vendor advice: disable MCP chat commands in external channels until you upgrade.
- Your system
OpenClaw could skip the owner check for MCP configuration changes
MCP commands that change configuration should be owner-only, but affected versions could skip that owner authorization check.
Defense: Upgrade to 2026.7.1 or later.
- Your system
An attacker-chosen stdio MCP command is saved into the Gateway MCP configuration
The setting is persisted; it does not disappear when the conversation ends.
Defense: Vendor advice: inspect configured MCP servers for unexpected entries.
- Your system
The command runs when OpenClaw loads its MCP configuration
The command runs with the privileges of the system user running OpenClaw, so it can reach whatever that user can reach.
Defense: PlainCVE suggestion: run OpenClaw under a dedicated low-privilege account to limit the damage.
- Attacker
The host's confidentiality, integrity and availability could be affected
The vendor advisory says this could affect the host's confidentiality, integrity and availability.
Who is affected
| Condition | Affected? |
|---|---|
| openclaw before 2026.7.1 + authorized external-channel senders who are not the owner | Affected (the vendor advisory’s range). Per the official docs, pre-fix versions have /mcp off by default and are affected only with commands.mcp turned on; whether earlier versions had this switch is unknown, so upgrade to be safe |
| openclaw 2026.7.1 or later | Fixed |
| 2026.7.1-1, 2026.7.1-2 (published to npm 2026-07-18) | Below 2026.7.1 by semver; the vendor doesn’t say whether they contain the fix, and the git history shows they include fix commit ad5a26c |
| 2026.6.33, 2026.6.34, 2026.6.35 (published to npm 2026-07-21 to 09-10, an older release line) | Published after 2026.7.1 but numbered below it, so inside the affected range by semver; the vendor doesn’t say whether they contain the fix, and the git history shows they don’t include ad5a26c |
| MCP servers installed or configured by the owner | Outside the advisory’s scope; the vendor still treats them as trusted integrations |
No source says which version introduced the flaw. OSV starts the range at “0”, meaning every version before 2026.7.1 is treated as affected.
On the exact range: the vendor advisory and the CVE record say “below 2026.7.1” in semver terms. npm also has 2026.7.1-1 and 2026.7.1-2, published after the 2026.7.1 stable release, plus 2026.6.33 to 2026.6.35. By semver all of these are below 2026.7.1, so they fall inside the vendor’s affected range, and the vendor doesn’t say whether they contain the fix. We checked the git history on GitHub: v2026.7.1-1 and v2026.7.1-2 come after ad5a26c and include the fix, while the v2026.6.33 to v2026.6.35 tags don’t include ad5a26c, and their /mcp handler lacks the owner check that ad5a26c added. That is our reading of the git history, not a vendor statement. The safe choice is to install 2026.7.1 stable or a later stable version, and readers on the 2026.6.x line should not go by the release date alone.
The attacker must already be an allowed sender on an external channel (the CVSS vector says PR:L, low privileges needed, and no user interaction), so not just anyone can use it.
Neither the vendor advisory nor the CVE record lists whether the /mcp chat commands are enabled as a condition. However, the official docs at commit 259877d, the parent of fix commit ad5a26c, say /mcp is “Disabled by default — enable with commands.mcp: true”, and the v2026.6.35 /mcp handler checks that switch first and does nothing if it is off; the current docs also keep it off by default. So at least in those pre-fix versions, the owner has to set commands.mcp to true before this flaw can be used. We found no source on whether earlier versions had the same switch or default, so deployments on very old versions should simply upgrade.
How it works
OpenClaw provides /mcp set and /mcp unset chat commands for changing the Gateway’s MCP server configuration. MCP (Model Context Protocol) is a standard that lets AI applications connect to external tools. A “stdio” MCP server is started as a local program, so its configuration is literally the command to run.
Commands that change configuration are supposed to be owner-only. In affected versions, that owner authorization check could be skipped: an authorized sender on an external channel who is not the owner could save a stdio command of their choice into the configuration. Later, when OpenClaw loads its MCP configuration, that command runs with the privileges of the system user running OpenClaw. The vendor says this could affect the host’s confidentiality, integrity and availability.
This is CWE-862 (missing authorization). The vendor advisory also lists CWE-78 (OS command injection); the CVE record lists only CWE-862.
The flawed approach (conceptual illustration, not OpenClaw’s source code):
Show code example(js)
function handleMcpSet(sender, serverConfig) {
// Only checks that the sender is authorized, not that they are the owner
if (!isAuthorizedSender(sender)) return deny();
saveMcpConfig(serverConfig); // the stdio command runs the next time config loads
}The fixed approach:
Show code example(js)
function handleMcpSet(sender, serverConfig) {
// MCP commands that change configuration are owner-only
if (!isOwner(sender)) return deny();
saveMcpConfig(serverConfig);
}Timeline
| Date | Event |
|---|---|
| 2026-07-13 | OpenClaw 2026.7.1 released, the first stable patched version |
| 2026-09-11 | Vendor advisory GHSA-wwx7-573h-pqwc published; the CVE record’s public date (datePublic) is also this day |
| 2026-09-26 | VulnCheck publishes the CVE record |
| 2026-09-28 | Not listed in CISA KEV as of this date; NVD has marked it “Deferred” and has no analysis of its own |
Our analysis: the fixed release came out about two months before the advisory.
Further reading
- Scoring: in the CVE record, the CNA (VulnCheck) gives CVSS 4.0 8.7 and CVSS 3.1 8.8, and the vendor advisory’s CVSS 3.1 score is also 8.8. NVD has marked it “Deferred” and has not published its own score; this page uses CVSS 3.1 8.8 and its vector.
- Exploitation: not in CISA KEV as of 2026-09-28. No source reports exploitation in the wild, and no source says it was exploited before a patch existed, so both are unconfirmed. TheHackerWire says no public exploit code has been confirmed. GitHub’s data puts EPSS at about 0.25% (percentile about 14%).
- Sources disagree on the disclosure date: the vendor advisory and CVE record say 2026-09-11, while TheHackerWire says 2026-09-26, which is actually when the CVE record was published. This page uses 2026-09-11.
- CWE difference: the CVE record lists only CWE-862; the vendor advisory also lists CWE-78.
- Reported by: yetval (per the vendor advisory).
Verification Checked item by item against sources by AI under our review rules, all passed; not human-reviewed and not yet reproduced in our lab
| AI review | 2026-09-30 · review rules |
|---|
Verification records describe the environment and the result only, never reproduction steps or code that could attack other people’s systems. See our policy.
Sources
- AdvisoryGHSA-wwx7-573h-pqwc — MCP configuration changes could omit owner authorization · OpenClaw (GitHub), 2026-09-11 · accessed 2026-09-28
- CVE / NVD / OSVCVE-2026-100596 Record (CVE Services API) · CVE Program / VulnCheck (CNA), 2026-09-26 · accessed 2026-09-28
- CVE / NVD / OSVNVD API - CVE-2026-100596 · NIST · accessed 2026-09-28
- OtherOSV - CVE-2026-100596 · OSV · accessed 2026-09-28
- Patch / releaseOpenClaw 2026.7.1 release notes · OpenClaw, 2026-07-13 · accessed 2026-09-28
- Patch / releaseRequire owner gate for MCP chat command (ad5a26c) · OpenClaw (GitHub), 2026-06-24 · accessed 2026-09-28
- OtherGitHub compare - ad5a26c...v2026.7.1-2 · GitHub · accessed 2026-09-28
- OtherGitHub compare - ad5a26c...v2026.6.35 · GitHub · accessed 2026-09-28
- VendorOpenClaw docs at 259877d (parent of fix commit) - docs/tools/slash-commands.md · OpenClaw (GitHub) · accessed 2026-09-30
- OtherOpenClaw v2026.6.35 source - src/auto-reply/reply/commands-mcp.ts · OpenClaw (GitHub) · accessed 2026-09-30
- VendorOpenClaw docs - Slash commands · OpenClaw · accessed 2026-09-28
- VendorOpenClaw docs - Gateway channel commands configuration · OpenClaw · accessed 2026-09-28
- VendorOpenClaw docs - Install · OpenClaw · accessed 2026-09-28
- VendorOpenClaw docs - Updating · OpenClaw · accessed 2026-09-28
- VendorOpenClaw docs - Update methods · OpenClaw · accessed 2026-09-28
- VendorOpenClaw docs - CLI reference · OpenClaw · accessed 2026-09-28
- Otherfix: require owner identity for owner-enforced commands (#69774) · OpenClaw (GitHub) · accessed 2026-09-28
- OtherGitHub Advisory Database API - CVE-2026-100596 (EPSS) · GitHub · accessed 2026-09-28
- NewsCVE-2026-100596 · TheHackerWire · accessed 2026-09-28
Press brief
In one sentence
OpenClaw's /mcp chat commands had an authorization flaw: an authorized sender on an external channel who is not the owner could save an MCP setting that makes a command of their choice run on the host with OpenClaw's privileges when the configuration loads. The project fixed it in version 2026.7.1, released on July 13, 2026, and published its security advisory on September 11. As of September 28, 2026, it was not on CISA's Known Exploited Vulnerabilities catalog, and no source reports exploitation in the wild.
Key facts
- Severity
- CVSS 3.1 8.8; CVSS 4.0 8.7 (CNA VulnCheck) cveawg.mitre.org
- Fixed version
- 2026.7.1 (released 2026-07-13) docs.openclaw.ai
- Vendor advisory
- GHSA-wwx7-573h-pqwc, published 2026-09-11 github.com
- CVE record published
- 2026-09-26 (VulnCheck) cveawg.mitre.org
- Reported by
- yetval github.com
Confirmed
- Before openclaw 2026.7.1, an authorized non-owner could use /mcp set or /mcp unset to persist MCP configuration.
- The saved stdio MCP command runs with the OpenClaw process user's privileges when the configuration loads.
- The vendor fixed it in 2026.7.1 and advises disabling MCP chat commands in external channels until you upgrade.
Unconfirmed / disputed
- No source says whether it has been exploited in the wild or before a patch existed.
- Sources disagree on the disclosure date: the vendor advisory and CVE record say 2026-09-11, while TheHackerWire says 2026-09-26 (the date the CVE record was published).
- The 2026.7.1 release notes tie the /mcp fix to commit ad5a26c but don't mention the CVE ID. The docs just before the fix and the v2026.6.35 source show /mcp off by default and usable only with commands.mcp turned on, but the vendor advisory does not list this as a condition, and whether earlier versions had this switch is unknown.
Quotable line
Being allowed to talk in the chat should not mean being allowed to change the host's settings, and this flaw blurred the two.
Images
Download the share image (PNG) · Attack flow diagram (downloadable)
Please credit "PlainCVE" and link to this page. Full citation format is under "How to cite" below. Found a factual error? Report it.
OpenClaw MCP configuration missing owner authorization: authorized non-owner senders can save a command that runs on the host OpenClaw's /mcp chat commands had an authorization flaw: an authorized sender on an external channel who is not the owner could save an MCP setting that makes a command of their choice run on the host with OpenClaw's privileges when the configuration loads. The project fixed it in version 2026.7.1, released on July 13, 2026, and published its security advisory on September 11. As of September 28, 2026, it was not on CISA's Known Exploited Vulnerabilities catalog, and no source reports exploitation in the wild. Key facts: - Severity:CVSS 3.1 8.8; CVSS 4.0 8.7 (CNA VulnCheck)(https://cveawg.mitre.org/api/cve/CVE-2026-100596) - Fixed version:2026.7.1 (released 2026-07-13)(https://docs.openclaw.ai/releases/2026.7.1) - Vendor advisory:GHSA-wwx7-573h-pqwc, published 2026-09-11(https://github.com/openclaw/openclaw/security/advisories/GHSA-wwx7-573h-pqwc) - CVE record published:2026-09-26 (VulnCheck)(https://cveawg.mitre.org/api/cve/CVE-2026-100596) - Reported by:yetval(https://github.com/openclaw/openclaw/security/advisories/GHSA-wwx7-573h-pqwc) Confirmed: - Before openclaw 2026.7.1, an authorized non-owner could use /mcp set or /mcp unset to persist MCP configuration. - The saved stdio MCP command runs with the OpenClaw process user's privileges when the configuration loads. - The vendor fixed it in 2026.7.1 and advises disabling MCP chat commands in external channels until you upgrade. Unconfirmed / disputed: - No source says whether it has been exploited in the wild or before a patch existed. - Sources disagree on the disclosure date: the vendor advisory and CVE record say 2026-09-11, while TheHackerWire says 2026-09-26 (the date the CVE record was published). - The 2026.7.1 release notes tie the /mcp fix to commit ad5a26c but don't mention the CVE ID. The docs just before the fix and the v2026.6.35 source show /mcp off by default and usable only with commands.mcp turned on, but the vendor advisory does not list this as a condition, and whether earlier versions had this switch is unknown. 「Being allowed to talk in the chat should not mean being allowed to change the host's settings, and this flaw blurred the two.」— PlainCVE https://plaincve.date/en/vulns/cve-2026-100596-openclaw-mcp-config-missing-authorization
How to cite this page
This article is CC BY 4.0. Please keep the attribution and link when republishing.
PlainCVE Team (2026). "OpenClaw MCP configuration missing owner authorization: authorized non-owner senders can save a command that runs on the host". PlainCVE. https://plaincve.date/en/vulns/cve-2026-100596-openclaw-mcp-config-missing-authorization (accessed YYYY-MM-DD)BibTeX
@misc{cve2026100596openclawmcpconfigmissingauthorization2026,
title = {OpenClaw MCP configuration missing owner authorization: authorized non-owner senders can save a command that runs on the host},
author = {PlainCVE Team},
year = {2026},
howpublished = {PlainCVE},
url = {https://plaincve.date/en/vulns/cve-2026-100596-openclaw-mcp-config-missing-authorization},
note = {Updated 2026-09-30}
}