PraisonAI has a Browser Server WebSocket origin validation bypass via unanchored regex (patch bypass of CVE-2026-40289 / GHSA-8x8f-54wf-vv92
CVE-2026-55536 · GHSA-6g6r-q6gw-w8fg · published 2026-08-25
- Severity
- Critical
- CVSS score
- 9.1
- Chance of exploitation (EPSS)
- 0.52%
- Fixed in
- 4.6.58
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
What kind of vulnerability: Authentication bypass — WebSocket access control bypass via regex mismatch. Who is impacted: Default configuration (127.0.0.1 binding): Any process running on the same machine (including malicious code in a compromised dependency, a rogue browser tab via localhost SSRF, or an attacker with local access) can connect to the browser automation server. Remote configuration (PRAISONAIBROWSERALLOWREMOTE=true): Any remote attacker can connect without credentials. The browser server is fully exposed on 0.0.0.0:8765 with only the bypassable regex as the auth gate.
Upgrade praisonai to 4.6.58 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Replace re.match with re.fullmatch and enforce the real Chrome extension ID character set (Chrome uses only a-p, base-26 encoded, exactly 32 characters):
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| praisonai | PyPI | < 4.6.58 | 4.6.58 |
1 registered MCP server installs an affected version today, by the dependency versions a fresh install resolves.
- io.github.MervinPraison/praisonaipraisonai@2.3.42
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
- CriticalPraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Callspraisonai
- CriticalPraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generationpraisonai
- CriticalPraisonAI: Arbitrary File Read/Write via `multiedit` Tool Without Path Validationpraisonai
- CriticalPraisonAI: Unauthenticated RCE via Jobs API + Approval Bypasspraisonaiagents, praisonai
- CriticalPraisonAI: AgentOS remains unauthenticated after incomplete fix version and allows remote agent invocationpraisonai
- CriticalPraisonAI: Jobs API exposes agent-execution endpoints with no authenticationpraisonai
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.