CVE-2026-29613: OpenClaw has a webhook auth bypass when gateway is behind a reverse proxy (loopback remoteAddress trust)
OpenClaw's BlueBubbles webhook handler trusted any request whose socket address was loopback. Behind a reverse proxy such as Tailscale Serve, nginx, Cloudflare Tunnel or ngrok, every remote request looks like loopback, so the webhook password was skipped. An attacker who reaches the proxy can inject BlueBubbles message and reaction events. `openclaw` below 2026.2.12 is affected. Upgrade to 2026.2.12.
Published Feb 17, 2026 · Updated Mar 6, 2026 · Analysis Nov 1, 2026
What an attacker can do
The BlueBubbles channel plugin receives inbound events through an HTTP POST on a configured webhook path. In affected versions the handler accepted a request as authenticated when req.socket.remoteAddress was 127.0.0.1, ::1 or ::ffff:127.0.0.1, and it did not look at forwarding headers.
A reverse proxy that runs on the same host connects to the gateway over loopback. The gateway therefore sees the proxy, not the original client, and treats a remote request as local. The configured webhook password is never checked.
An attacker who can reach the proxy's public endpoint can post forged message or reaction events, as if they came from BlueBubbles. The agent then handles them as real inbound chat. What follows depends on the agent's tools and routing: it can respond to or act on messages the attacker invented, which is a route to prompt injection against the agent. CVSS rates integrity impact only.
The scope is narrow. BlueBubbles is an optional plugin, off by default and not in a standard configuration. Only deployments that expose the BlueBubbles webhook endpoint through a reverse proxy are affected.
Who is affected
The npm package openclaw below 2026.2.12, with the optional BlueBubbles channel enabled and its webhook endpoint reachable through a reverse proxy: Tailscale Serve or Funnel, nginx, Cloudflare Tunnel, ngrok or similar. Deployments without BlueBubbles, or without a proxy on the same host, are not exposed.
npm ls -g openclaw
openclaw --versionopenclaw
- Ecosystem
- npm
- Affected
- < 2026.2.12
- Fixed in
- 2026.2.12
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.2.12.
npm install -g [email protected]Commit f836c385, released in 2026.2.12, removes the loopback-based bypass and requires the configured webhook secret. A defense-in-depth follow-up, commit 743f4b28, lands in the release after that. It treats requests with forwarding headers as proxied and never accepts passwordless webhooks through a proxy.
Mitigations from the advisory: configure a BlueBubbles webhook password, and do not expose the gateway webhook endpoint publicly without authentication.
How to tell if you were hit
Review proxy access logs for POST requests to the BlueBubbles webhook path from addresses that are not your BlueBubbles server. Look in OpenClaw logs for inbound BlueBubbles message or reaction events that do not match messages in your BlueBubbles server's own history. Check that a webhook password is set in the BlueBubbles configuration. Inspect agent sessions for actions that came from messages no real contact sent.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
The BlueBubbles webhook handler previously treated any request whose socket remoteAddress was loopback (127.0.0.1, ::1, ::ffff:127.0.0.1) as authenticated. When OpenClaw Gateway is behind a reverse proxy (Tailscale Serve/Funnel, nginx, Cloudflare Tunnel, ngrok), the proxy typically connects to the gateway over loopback, allowing unauthenticated remote requests to bypass the configured webhook password.
This could allow an attacker who can reach the proxy endpoint to inject arbitrary inbound BlueBubbles message/reaction events.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
< 2026.2.12 - Patched versions:
>= 2026.2.12
Exposure / Configuration
- BlueBubbles is an optional channel plugin (intended to eventually replace the legacy iMessage plugin, which is also optional). It is not enabled by default and is not part of a standard OpenClaw configuration.
- Only deployments with the BlueBubbles webhook endpoint exposed through a reverse proxy are impacted.
Details
The BlueBubbles webhook handler accepts inbound events via an HTTP POST endpoint under the configured BlueBubbles webhook path.
In vulnerable versions, the handler would accept requests as authenticated if req.socket.remoteAddress is loopback, without validating forwarding headers. With common reverse-proxy setups, the gateway sees the proxy as the direct client (loopback), even when the original request is remote.
Fix
- Primary fix (released in
2026.2.12): remove loopback-based authentication bypass and require the configured webhook secret. - Defense-in-depth follow-up (next release after commit below): treat requests with forwarding headers as proxied and never accept passwordless webhooks through a proxy.
Fix Commit(s)
- `f836c385ffc746cb954e8ee409f99d079bfdcd2f` (released in
2026.2.12) - `743f4b28495cdeb0d5bf76f6ebf4af01f6a02e5a` (defense-in-depth follow-up)
Mitigations
- Ensure a BlueBubbles webhook password is configured.
- Do not expose the gateway webhook endpoint publicly without authentication.
Thanks @simecek for reporting.
Credited to simecek, stanislavfortaisle.
Questions
- Is every OpenClaw gateway behind a proxy affected by CVE-2026-29613?
No. Only deployments that enabled the optional BlueBubbles plugin and expose its webhook through a reverse proxy. BlueBubbles is not on by default.
- Why does a proxy cause the bypass?
The proxy connects to the gateway over loopback, so the gateway sees a loopback
remoteAddressfor every request, including remote ones, and accepted it without the password.- Does setting a webhook password help on old versions?
The advisory lists configuring a webhook password as a mitigation, but affected versions skipped the check for loopback peers. Upgrade to 2026.2.12 so the secret is always required.
References
Read for this analysis:
- https://github.com/openclaw/openclaw/commit/743f4b28495cdeb0d5bf76f6ebf4af01f6a02e5a
- https://github.com/openclaw/openclaw/commit/f836c385ffc746cb954e8ee409f99d079bfdcd2f
- https://github.com/openclaw/openclaw/releases/tag/v2026.2.12
- https://nvd.nist.gov/vuln/detail/CVE-2026-29613
- https://www.vulncheck.com/advisories/openclaw-webhook-authentication-bypass-via-loopback-remoteaddress-trust
- https://github.com/advisories/GHSA-xc7w-v5x6-cc87
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
