NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-29613: OpenClaw has a webhook auth bypass when gateway is behind a reverse proxy (loopback remoteAddress trust)

highCVSS 4.0 8.2 · 3.1 5.9GHSA-xc7w-v5x6-cc87

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 --version

openclaw

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)

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 remoteAddress for 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

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 entries