CVE-2026-55536

Browser Server WebSocket origin validation bypass via unanchored regex (patch bypass of CVE-2026-40289 / GHSA-8x8f-54wf-vv92)

Published Aug 25, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
PraisonAI is a multi-agent teams system. Prior to praisonai 4.6.58, Browser Server _handle_connection() checks Chrome extension origins with re.match() and the unanchored expression chrome-extension://[a-z0-9]{32}. Extra trailing characters pass before websocket.accept(), allowing start_session commands and unauthorized browser automation. This issue is fixed in version 4.6.58.

Analysis

AI-generated

Technical impact

The Browser Server in PraisonAI validates WebSocket origin headers using an unanchored regular expression. An attacker can supply an origin that matches chrome-extension://[a-z0-9]{32} but includes extra trailing characters. The server accepts such a connection, bypasses the intended origin check, and allows an unauthorized start_session command to be processed. This provides the attacker the ability to initiate browser automation commands without authentication, effectively giving remote execution privileges within the browser context.

Affected Systems

The vulnerability affects the MervinPraison PraisonAI multi‑agent teams system prior to version 4.6.58. Any deployment running a version older than 4.6.58 is susceptible to the origin bypass. The issue is corrected in release 4.6.58, available from the PraisonAI GitHub repository.

Risk and Exploitability

The CVSS base score of 9.1 classifies this flaw as critical. Although EPSS data are not available, the flaw is not logged in the CISA KEV catalog. Because the flaw allows unauthorized WebSocket connections and command injection, an attacker with network reach to the Browser Server endpoint can craft a malicious origin header and issue start_session commands, achieving unauthorized automation or arbitrary code execution. The exploit can be deployed remotely without the need for local user privileges, making it a high‑risk vulnerability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to version 4.6.58 or later to apply the origin validation fix.
  • Restrict network access to the Browser Server WebSocket endpoint so that only trusted hosts can connect.
  • Ensure any custom origin validation logic uses an anchored regular expression that rejects trailing characters.

Generated by OpenCVE AI on August 25, 2026 at 16:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6g6r-q6gw-w8fg PraisonAI has a Browser Server WebSocket origin validation bypass via unanchored regex (patch bypass of CVE-2026-40289 / GHSA-8x8f-54wf-vv92)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Vendors & Products Mervinpraison
Mervinpraison praisonai
Type Values Removed Values Added
Description PraisonAI is a multi-agent teams system. Prior to praisonai 4.6.58, Browser Server _handle_connection() checks Chrome extension origins with re.match() and the unanchored expression chrome-extension://[a-z0-9]{32}. Extra trailing characters pass before websocket.accept(), allowing start_session commands and unauthorized browser automation. This issue is fixed in version 4.6.58.
Title Browser Server WebSocket origin validation bypass via unanchored regex (patch bypass of CVE-2026-40289 / GHSA-8x8f-54wf-vv92)
Weaknesses CWE-284
CWE-625
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-625

    Permissive Regular Expression

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 28, 2026, 10:27 PM
Reserved
Jun 16, 2026, 11:01 PM
Status
Deferred
Published
Aug 25, 2026, 4:16 PM
Modified
Sep 9, 2026, 9:07 PM