Mar 4, 2026·5 min read·35 visits
The OpenClaw BlueBubbles plugin fails to enforce access controls when the allowed sender list is empty. Due to a 'fail-open' logic error in the underlying SDK, unconfigured instances accept DMs from any source, granting full interaction with the AI assistant.
A critical access control vulnerability exists in the OpenClaw BlueBubbles plugin due to a logic error in the shared authorization utility. The flaw causes the system to fail-open when the allowlist configuration is empty, permitting unauthorized remote users to bypass Direct Message (DM) gating policies. This allows arbitrary unauthenticated users to interact with the AI assistant, potentially triggering sensitive actions or accessing private data.
The vulnerability resides in the plugin-sdk component of OpenClaw, specifically within the authorization logic used by the BlueBubbles optional channel extension. OpenClaw is a personal AI assistant infrastructure that aggregates communications from various platforms. The BlueBubbles plugin integrates iMessage and SMS capabilities, allowing the assistant to process and respond to messages.
The core issue is an Incorrect Authorization (CWE-863) flaw where the system defaults to an authorized state when no access policies are defined. In a secure configuration, an empty allowlist should result in all traffic being denied until explicitly permitted. However, the vulnerable implementation treated an empty list as a directive to allow all traffic, bypassing the intended pairing or allowlist security modes.
This flaw is particularly critical because pairing is often the default secure mode for new installations. Administrators expecting a 'deny-by-default' posture until devices are paired are instead left exposed to a 'permit-all' state, allowing any actor capable of routing a message to the BlueBubbles instance to interact with the AI agent.
The root cause is a logic error in the isAllowedParsedChatSender utility function located in src/plugin-sdk/allow-from.ts. This function is responsible for validating whether an incoming message sender is authorized based on the user's configuration.
The function accepts a list of allowed senders (allowFrom). The logic was intended to support a wildcard (*) for public access, but the implementation checked the length of the array to determine the default behavior. Specifically, the code contained a conditional check: if (allowFrom.length === 0). If this condition was met—meaning the user had not yet added any trusted contacts—the function returned true.
This effectively inverted the security model. Instead of failing closed (denying access when no rules exist), the system failed open. The BlueBubbles plugin relies on this boolean return value to gate access to the processMessage and processReaction workflows. Consequently, an uninitialized configuration resulted in the complete bypass of authentication checks.
The following analysis compares the vulnerable code path with the patched version in src/plugin-sdk/allow-from.ts. The fix involves inverting the return value for empty lists and requiring an explicit wildcard for open access.
Vulnerable Implementation:
export function isAllowedParsedChatSender(params: AllowedParsedChatSenderParams) {
const allowFrom = params.allowFrom.map((entry) => String(entry).trim());
// VULNERABILITY: If the list is empty, return TRUE (Allow all)
if (allowFrom.length === 0) {
return true;
}
// ... checks for specific sender ID ...
}Patched Implementation (Commit 9632b9b):
export function isAllowedParsedChatSender(params: AllowedParsedChatSenderParams) {
const allowFrom = params.allowFrom.map((entry) => String(entry).trim());
// FIX: Fail-closed. If the list is empty, return FALSE (Deny all)
if (allowFrom.length === 0) {
return false;
}
// Explicitly require wildcard for allow-all behavior
if (allowFrom.includes("*")) {
return true;
}
// ... checks for specific sender ID ...
}The patch ensures that an empty configuration results in a secure state. Additionally, logic was unified in resolveDmGroupAccessDecision to prevent similar drift in reaction processing.
Exploiting this vulnerability requires no specialized tools or authentication. The attacker simply needs to identify a target OpenClaw instance running the BlueBubbles plugin that has not yet been configured with specific trusted peers.
isAllowedParsedChatSender.allowFrom list, the function returns true.The vulnerability also extends to reactions (Tapbacks), allowing an attacker to trigger event-driven workflows simply by reacting to a message history.
The impact of this vulnerability is critical due to the capabilities typically granted to personal AI assistants.
The CVSS score is estimated at 9.8 (Critical) because the attack vector is network-based (via the messaging platform), requires no privileges, requires no user interaction, and results in a total compromise of the confidentiality and integrity of the AI agent's operations.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H| Product | Affected Versions | Fixed Version |
|---|---|---|
OpenClaw OpenClaw | < Feb 22, 2026 | commit 9632b9b |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-863 |
| Attack Vector | Network |
| CVSS | 9.8 (Critical) |
| Impact | Authorization Bypass |
| Exploit Status | PoC Available |
| Fix Complexity | Low (Logic Update) |
The software does not provide sufficient authorization for an actor to access a resource or perform an action, or it incorrectly validates the authorization.
CVE-2026-118764 (also tracked as GHSA-g3hv-75wg-m249) is an asymmetric resource consumption vulnerability (CWE-405) in the npm package minimatch prior to version 11.0.1. When pattern compilation is invoked with an optimizationLevel of 2 or higher, the internal preprocessing functions firstPhasePreProcess() and secondPhasePreProcess() in src/index.ts perform unbounded pattern splitting and quadratic pairwise deduplication. An attacker supplying a crafted glob string containing repeated **/.. segments can induce a combinatorial explosion of pattern permutations followed by an O(M^2) comparison routine, blocking the Node.js event loop and exhausting process memory.
A regular expression denial of service (ReDoS) vulnerability exists in @hapi/content from version 3.0.6 prior to 6.0.3. The Content.disposition() function utilizes an unanchored parameter-name regular expression inside a global replacement scan. When processing a Content-Disposition header parameter containing a long token lacking an equals sign, the JavaScript regular expression engine undergoes quadratic O(N^2) backtracking. Because @hapi/content is invoked by @hapi/pez during multipart/form-data request parsing, unauthenticated remote attackers can send a crafted multipart request to any Hapi route with multipart payload parsing enabled, starving the single-threaded Node.js event loop.
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the joi schema description and data validation library for JavaScript. When validating multiple email addresses using the Joi.string().email({ multiple: true }) configuration, the library compiles a separator regular expression with an unanchored greedy leading whitespace quantifier. Supplying an input string containing a long sequence of whitespace characters without the expected delimiter triggers quadratic time complexity during String.prototype.split execution, blocking the single-threaded Node.js event loop.
CVE-2026-119205 (GHSA-mfr5-77xh-9j7h) is a Denial of Service (DoS) vulnerability in pypdf prior to version 6.21.4. The flaw occurs during the cloning or duplication of nested PDF dictionary structures. Because the cycle-detection algorithm within DictionaryObject._clone() tracked generated destination object references rather than the original source indirect references, cyclic reference graphs in source PDFs evaded detection, resulting in an infinite loop and CPU exhaustion.
CVE-2026-119204 (also tracked as GHSA-cggf-277g-3q54) is a Denial of Service (DoS) vulnerability in pypdf prior to version 6.21.4. The vulnerability stems from uncontrolled resource consumption (CWE-400) during the flattening of a PDF document's page tree. By supplying a compact PDF containing a hierarchical amplification structure of shared `/Pages` and `/Page` nodes with dense dictionary entries or inherited resources, an unauthenticated attacker can cause pypdf to copy millions of dictionary entries into individual `PageObject` instances without enforcing a document-wide entry budget. This triggers severe heap memory exhaustion and process termination via Out-Of-Memory (OOM) kills.
CVE-2026-119203 is a denial-of-service vulnerability affecting the pypdf library in versions prior to 6.21.4. The flaw occurs within the standard cross-reference (xref) table parsing routine when processing truncated or malformed PDF streams that terminate before a valid trailer dictionary is encountered. Because the parser attempts to rewind the stream pointer by a fixed offset whenever the trailer token is absent without verifying forward progress, hitting the end-of-file (EOF) or non-advancing tokens causes the parser to re-read the same byte offset indefinitely. An unauthenticated attacker can exploit this flaw by supplying a crafted PDF document to an application using pypdf, resulting in continuous CPU consumption and thread exhaustion.