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.
Published: 2026-08-25
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Fri, 28 Aug 2026 23:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 25 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Vendors & Products Mervinpraison
Mervinpraison praisonai

Tue, 25 Aug 2026 15:30:00 +0000

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'}


Subscriptions

Mervinpraison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-28T22:27:40.534Z

Reserved: 2026-06-16T23:01:04.074Z

Link: CVE-2026-55536

cve-icon Vulnrichment

Updated: 2026-08-28T22:27:33.547Z

cve-icon NVD

Status : Deferred

Published: 2026-08-25T16:16:54.867

Modified: 2026-09-09T21:07:31.353

Link: CVE-2026-55536

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T16:45:04Z

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-625

    Permissive Regular Expression