CVE-2026-35622: OpenClaw: Google Chat app-url webhook auth accepted non-deployment add-on principals
OpenClaw before 2026.3.22 accepted Google Chat webhook tokens from any Google add-on service account, not just the one bound to the deployment. An attacker with such a token could post messages the Gateway treats as real Google Chat events. Upgrade openclaw to 2026.3.22 or later and set appPrincipal.
Published Mar 26, 2026 · Updated Apr 18, 2026 · Analysis Oct 31, 2026
What an attacker can do
The Google Chat extension verifies each webhook request in verifyGoogleChatRequest (extensions/googlechat/src/auth.ts). For app-url webhooks, a request can carry an add-on bearer token. The old check accepted any token from the add-on service-account issuer pattern and did not tie it to the principal configured for this deployment (CWE-290 and CWE-863).
Google issues add-on identities to many projects. An attacker who controls their own Google Workspace add-on or project could therefore obtain a token that passed the issuer test and send it to a victim's webhook URL. The Gateway would accept forged chat events as if they came from the user's own Chat app, and the agent behind the channel could act on them.
The attacker needs to know the webhook URL and hold some Google-issued credential (PR:L), and the CVSS vector sets attack complexity high. Integrity impact is scored high; confidentiality is low. Teams that connect OpenClaw to Google Chat with a public webhook are the exposed group.
Who is affected
Affected: the openclaw npm package before 2026.3.22, with the Google Chat extension enabled and app-url (webhook) delivery. Check the version, and your Google Chat account config for appPrincipal:
npm ls openclaw
openclaw --versionopenclaw
- Ecosystem
- npm
- Affected
- < 2026.3.22
- Fixed in
- 2026.3.22
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.22 or later; 2026.3.23 and 2026.3.23-2 contain the fix.
npm install -g openclaw@latestFix commit a47722de7e3c9cbda8d5512747ca7e3bb8f6ee66 changes verifyGoogleChatRequest. Add-on tokens now require a configured expectedAddOnPrincipal, passed in from the account's appPrincipal in monitor-webhook.ts, and the token's sub claim must match it. Without one, requests are rejected with "missing add-on principal binding". After upgrading, set appPrincipal for each Google Chat account that uses add-on delivery. No other workaround is listed.
How to tell if you were hit
Review Google Chat webhook logs for events whose sender or space you do not recognize, and for requests authenticated with add-on tokens whose sub differs from your deployment's principal. After the upgrade, look for "missing add-on principal binding" or unexpected-principal rejections. The first means appPrincipal is not set and your own add-on traffic is also being refused.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Google Chat app-url webhook verification accepted add-on principals outside the intended deployment binding.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected: < 2026.3.22
- Fixed: >= 2026.3.22
- Latest released tag checked:
v2026.3.23-2(630f1479c44f78484dfa21bb407cbe6f171dac87) - Latest published npm version checked:
2026.3.23-2
Fix Commit(s)
a47722de7e3c9cbda8d5512747ca7e3bb8f6ee66
Release Status
The fix shipped in v2026.3.22 and remains present in v2026.3.23 and v2026.3.23-2.
Code-Level Confirmation
- extensions/googlechat/src/auth.ts now requires expectedAddOnPrincipal matching for add-on principals and rejects unexpected issuers.
- extensions/googlechat/src/monitor-webhook.ts passes the configured appPrincipal into auth verification for the shipped webhook path.
OpenClaw thanks @ijxpwastaken for reporting.
Questions
- Why do my Google Chat webhooks fail after upgrading?
The fix requires an appPrincipal for add-on tokens. If it is not configured, requests are rejected with "missing add-on principal binding". Set appPrincipal on the account.
- Does the attacker need to be inside my Google Workspace?
The advisory says the check accepted add-on principals outside the intended deployment binding. The CVSS vector lists low privileges and high complexity, and it does not say that the attacker must belong to your organisation.
- Are Chat-issuer tokens affected?
The fixed code still accepts tokens issued by the Google Chat issuer directly and applies the principal check to add-on tokens only.
- Is it exploited in the wild?
No source reports exploitation, and it is not in CISA's KEV catalog. The EPSS score is 0.0029.
References
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
