CVE-2026-34506: OpenClaw's MS Teams sender allowlist bypass when route allowlist is configured and sender allowlist is empty
OpenClaw's Microsoft Teams plugin (2026.3.7 and earlier) treated a matching team or channel route allowlist as permission for every sender when groupAllowFrom was empty. Under groupPolicy allowlist, anyone in an allowlisted Teams route could trigger the agent's replies. Fixed in openclaw 2026.3.8.
Published Mar 12, 2026 · Updated Apr 6, 2026 · Analysis Oct 31, 2026
What an attacker can do
In createMSTeamsMessageHandler, the sender access check replaced the group allowlist with a wildcard whenever a channel route allowlist was set and the effective group allowlist was empty. A match on the route therefore authorized any sender in that team or channel, and the sender check that groupPolicy "allowlist" promises never ran.
The advisory notes this does not open default unauthenticated access. The attacker has to be a member of a Teams team or channel that the operator has put on the route allowlist, and the operator must have left groupAllowFrom empty. Such a sender can make the agent reply in that route. For an agent that acts on chat messages, that means people the operator never named can steer it. The data rates the issue as network, no privileges, low integrity impact. The weakness is classed as authentication bypass by alternate name (CWE-289).
Who is affected
The openclaw npm package up to and including 2026.3.7, with the Microsoft Teams plugin configured with groupPolicy set to allowlist, a team or channel route allowlist, and an empty groupAllowFrom.
npm ls -g openclaw
openclaw --versionIn your config, check that groupAllowFrom for Teams lists the senders you intend. If it is empty and a route allowlist exists, you are in the affected case.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.3.7
- Fixed in
- 2026.3.8
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.8 or later; the advisory verified the fix in the v2026.3.8 release of March 9, 2026.
npm install -g [email protected]Commit 88aee91 removes the wildcard substitution. The handler now passes effectiveGroupAllowFrom straight to evaluateSenderGroupAccessForPolicy. A new test sends a message from an unlisted sender in an allowlisted route and asserts no conversation is stored. Until upgrade, filling groupAllowFrom with the intended senders is a sensible precaution, but the sources do not list it as a workaround.
How to tell if you were hit
Review Teams message logs for replies the agent sent to senders who are not in groupAllowFrom, in routes that are on the team or channel allowlist. Any such reply in an affected version shows the sender check was skipped. Beam records agent shell commands and file access, which helps show what a chat-triggered agent did next.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
OpenClaw's Microsoft Teams plugin widened group sender authorization when a team/channel route allowlist was configured but groupAllowFrom was empty. Before the fix, a matching route allowlist entry could cause the message handler to synthesize wildcard sender authorization for that route, allowing any sender in the matched team/channel to bypass the intended groupPolicy: "allowlist" sender check.
This does not affect default unauthenticated access, but it does weaken a documented Teams group authorization boundary and can allow unauthorized group senders to trigger replies in allowlisted Teams routes.
Affected Packages / Versions
- Package:
openclaw(npm) - Latest published vulnerable version:
2026.3.7 - Affected range:
<= 2026.3.7 - Fixed in released version:
2026.3.8
Fix Commit(s)
88aee9161e0e6d32e810a25711e32a808a1777b2
Release Verification
- Verified fixed in GitHub release
v2026.3.8published on March 9, 2026. - Verified
npm view openclaw versionresolves to2026.3.8. - Verified the release contains the regression test covering the Teams route-allowlist sender-bypass case and that the test passes against the
v2026.3.8tree.
Thanks @zpbrent for reporting.
Credited to zpbrent.
Questions
- Does CVE-2026-34506 open OpenClaw to the internet?
No. The advisory says it does not affect default unauthenticated access. It weakens the group sender boundary inside Teams routes that are already allowlisted.
- What configuration triggers it?
A team or channel route allowlist with an empty groupAllowFrom under groupPolicy allowlist.
- Which version fixes it?
openclaw 2026.3.8. Versions up to 2026.3.7 are affected.
References
Read for this analysis:
- https://github.com/openclaw/openclaw/security/advisories/GHSA-g7cr-9h7q-4qxq
- https://nvd.nist.gov/vuln/detail/CVE-2026-34506
- https://www.vulncheck.com/advisories/openclaw-sender-allowlist-bypass-in-microsoft-teams-plugin-via-route-allowlist-configuration
- https://github.com/advisories/GHSA-g7cr-9h7q-4qxq
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
