# CVE-2026-40289: PraisonAI Browser Server allows unauthenticated WebSocket clients to hijack connected extension sessions

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 39% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-10T19:32:59.000Z
- Modified: 2026-11-16T16:15:07.515Z
- Also known as: GHSA-8x8f-54wf-vv92, PYSEC-2026-467, PYSEC-2026-485
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. In versions below 4.5.139 of PraisonAI and 1.5.140 of praisonaiagents, the browser bridge (praisonai browser start) is vulnerable to unauthenticated remote session hijacking due to missing authentication and a bypassable origin check on its /ws WebSocket endpoint. The server binds to 0.0.0.0 by default and only validates the Origin header when one is present, meaning any non-browser client that omits the header is accepted without restriction. An unauthenticated network attacker can connect, send a start_session message, and the server will route it to the first idle browser-extension WebSocket (effectively hijacking that session) and then broadcast all resulting automation actions and outputs back to the attacker. This enables unauthorized remote control of connected browser automation sessions, leakage of sensitive page context and automation results, and misuse of model-backed browser actions in any environment where the bridge is network-reachable. This issue has been fixed in versions 4.5.139 of PraisonAI and 1.5.140 of praisonaiagents.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.5.139
- MervinPraison praisonaiagents: < 1.5.140
- praisonaiagents (PyPI): before 1.5.140
- praisonai (PyPI): before 4.5.139
- praison praisonai: before 4.5.139
- praison praisonaiagents: before 1.5.140

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-8x8f-54wf-vv92> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40289> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.139> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/praisonai/PYSEC-2026-467.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/praisonaiagents/PYSEC-2026-485.yaml> (web)
- <https://pypi.org/project/praisonai> (package, web)
- <https://pypi.org/project/praisonaiagents> (package, web)
- <https://github.com/advisories/GHSA-8x8f-54wf-vv92> (advisory)

## Sources

- CVE List: [CVE-2026-40289](https://www.cve.org/CVERecord?id=CVE-2026-40289), CVE Terms of Use, modified 2026-04-14
- GitHub Advisory Database: [GHSA-8x8f-54wf-vv92](https://github.com/advisories/GHSA-8x8f-54wf-vv92), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-40289](https://nvd.nist.gov/vuln/detail/CVE-2026-40289), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-467](https://osv.dev/vulnerability/PYSEC-2026-467), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-485](https://osv.dev/vulnerability/PYSEC-2026-485), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-40289 · Whole record: https://cve.day/CVE-2026-40289.json · Rebuilt by cve.day 2026-11-25T22:59:18.670Z
