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

CVE-2026-22170: OpenClaw: BlueBubbles (optional plugin) pairing/allowlist mismatch when allowFrom is empty

mediumCVSS 4.0 5.3GHSA-jwf4-8wf4-jf2m

In OpenClaw before 2026.2.22, the optional BlueBubbles channel plugin treats every DM sender as authorized when `dmPolicy` is `pairing` or `allowlist` and `allowFrom` is empty or unset. A stranger who can message the linked account can reach the agent. Upgrade `openclaw` to 2026.2.22.

Published Mar 4, 2026 · Updated Mar 18, 2026 · Analysis Oct 31, 2026

What an attacker can do

BlueBubbles DM policy defaults to pairing. When allowFrom is empty, the effective allowlist is empty too. DM and reaction authorization call isAllowedBlueBubblesSender(...), which delegates to the shared helper isAllowedParsedChatSender(...). That helper returned true for an empty allowlist, so unknown senders skipped the pairing and allowlist gate (CWE-863).

The attacker must be able to message the Apple identity that the BlueBubbles bridge is mapped to. The maintainers say that identity is usually single-owner and not broadly reachable, so they rate practical risk as usually low. They say risk rises when the identifier is publicly reachable or when the agent's tool permissions are broad.

A message that passes the gate goes to the agent as if the owner sent it. With broad tools enabled, that can mean file, shell or message actions steered by a stranger. The CVSS 4.0 vector shows low integrity impact and no confidentiality impact.

Who is affected

The openclaw npm package up to and including 2026.2.21-2, with the BlueBubbles plugin enabled, dmPolicy set to pairing (the default) or allowlist, and allowFrom empty or unset. Check with:

npm ls openclaw

Then review the BlueBubbles section of your OpenClaw config for dmPolicy and allowFrom. Deployments that do not use BlueBubbles are not in scope.

openclaw

Ecosystem
npm
Affected
< 2026.2.22
Fixed in
2026.2.22
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.2.22:

npm install [email protected]

The shared parsed-chat allowlist helper now fails closed on empty allowlists. BlueBubbles inbound gating also now uses one decision helper for both messages and reactions. The advisory lists no workaround, though filling allowFrom with your own identifiers is a sensible interim step.

How to tell if you were hit

Review BlueBubbles inbound logs for DMs or reactions from senders that are not yours and were never paired. Check agent session history for commands that started from such senders. Compare against your intended allowFrom list. The advisory names no log line and reports no exploitation in the wild.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

BlueBubbles is an optional OpenClaw channel plugin. A configuration-sensitive access-control mismatch allowed DM senders to be treated as authorized when dmPolicy was pairing or allowlist and allowFrom was empty/unset.

Severity Rationale (Medium)

Severity is set to medium because:

  • this affects an optional plugin, not core messaging surfaces;
  • many deployments use owner-controlled/private BlueBubbles identities with limited external reachability;
  • practical exploitability depends on an untrusted sender being able to reach that specific BlueBubbles account identifier.

In typical personal/self-hosted BlueBubbles setups, the mapped Apple identity is single-owner and not broadly reachable, so this is usually low practical risk.

Risk is higher in deployments where the identifier is publicly reachable and/or agent tool permissions are broad.

Technical Details

  1. BlueBubbles DM policy defaults to pairing (dmPolicy ?? "pairing").
  2. Effective allowlist can be empty (effectiveAllowFrom).
  3. DM/reaction authorization called isAllowedBlueBubblesSender(...).
  4. That delegated to shared isAllowedParsedChatSender(...), which previously returned true for empty allowlists.
  5. Result: unknown senders could bypass intended pairing/allowlist gating when allowFrom was empty.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Vulnerable versions: <= 2026.2.21-2
  • Planned fixed version: 2026.2.22

Fix

The shared parsed-chat allowlist helper now fails closed on empty allowlists, restoring expected BlueBubbles DM gating behavior. BlueBubbles inbound gating was also refactored to use one shared DM/group decision helper for both message and reaction paths to reduce future drift.

Fix Commit(s)

  • 9632b9bcf032c5f2280c3103961fde912ab1f920
  • 2ba6de7eaad812e5e8603018e14e54e96bdd57dd
  • 51c0893673de8e5cea64e64351dbfa4680ba0dec
  • 4540790cb62412676f7b61cfc6e47443f84a251e

OpenClaw thanks @tdjackey for reporting.

Credited to tdjackey.

Questions

Why is CVE-2026-22170 rated medium?

The maintainers say it affects an optional plugin, many setups use private single-owner identities, and exploitation needs an untrusted sender to reach that specific BlueBubbles account.

Am I affected if I use the default pairing policy?

Yes, if allowFrom is empty and you run a version below 2026.2.22. The default dmPolicy is pairing, and the empty allowlist was treated as allow-all.

What does the fix change?

An empty allowlist now denies instead of allows, and message and reaction paths share one DM and group decision helper.

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