CVE-2026-40116: PraisonAI: Unauthenticated WebSocket Endpoint Proxies to Paid OpenAI Realtime API Without Rate Limits
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.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-40116 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 →