# CVE-2026-40116: PraisonAI's Unauthenticated WebSocket Endpoint Proxies to Paid OpenAI Realtime API Without Rate Limits

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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.40%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-09T21:20:24.708Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-q5r4-47m9-5mc7, PYSEC-2026-2920
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. Prior to 4.5.128, the /media-stream WebSocket endpoint in PraisonAI's call module accepts connections from any client without authentication or Twilio signature validation. Each connection opens an authenticated session to OpenAI's Realtime API using the server's API key. There are no limits on concurrent connections, message rate, or message size, allowing an unauthenticated attacker to exhaust server resources and drain the victim's OpenAI API credits. This vulnerability is fixed in 4.5.128.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.5.128
- praisonai (PyPI): before 4.5.128
- praison praisonai: before 4.5.128

## Every score

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

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-q5r4-47m9-5mc7> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40116> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.128> (web)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-q5r4-47m9-5mc7> (advisory)

## Sources

- CVE List: [CVE-2026-40116](https://www.cve.org/CVERecord?id=CVE-2026-40116), CVE Terms of Use, modified 2026-04-14
- GitHub Advisory Database: [GHSA-q5r4-47m9-5mc7](https://github.com/advisories/GHSA-q5r4-47m9-5mc7), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-40116](https://nvd.nist.gov/vuln/detail/CVE-2026-40116), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2920](https://osv.dev/vulnerability/PYSEC-2026-2920), CC-BY-4.0, modified 2026-07-13

---

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