Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. praisonai
  4. ›
  5. CVE-2026-55536

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

August 25, 2026

praisonai/browser/server.py validates incoming WebSocket connections using a Chrome extension Origin check. The regex chrome-extension://[a-z0-9]{32} is applied with re.match(), which only anchors at the start of the string, not the end. Any Origin header with more than 32 alphanumeric characters after chrome-extension:// — including non-alphanumeric trailing characters — passes the check.

This is a patch bypass of GHSA-8x8f-54wf-vv92. That advisory triggered the addition of origin validation; this finding shows the validation is bypassable by any WebSocket client that forges an Origin header. After bypassing, the attacker can send start_session commands that are executed by any Chrome extension currently connected to the server — causing the extension to perform arbitrary browser automation including cookie theft and screenshot capture.

References

  • github.com/MervinPraison/PraisonAI/commit/2f9677abb2ea68eab864ee8b6a828fd0141612e1
  • github.com/MervinPraison/PraisonAI/releases/tag/v4.6.58
  • github.com/MervinPraison/PraisonAI/security/advisories/GHSA-6g6r-q6gw-w8fg
  • github.com/advisories/GHSA-6g6r-q6gw-w8fg
  • nvd.nist.gov/vuln/detail/CVE-2026-55536

Code Behaviors & Features

Detect and mitigate CVE-2026-55536 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.6.58

Fixed versions

  • 4.6.58

Solution

Upgrade to version 4.6.58 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-625: Permissive Regular Expression

Source file

pypi/praisonai/CVE-2026-55536.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 11 Sep 2026 00:18:31 +0000.