Vulnerability Description
OpenWA is a free, open source, self-hosted WhatsApp API gateway. Prior to 0.23.5, the /events WebSocket gateway delivers the session.qr event to a VIEWER API key that subscribes by event name or through either wildcard subscription form, even though GET /api/sessions/{sessionId}/qr requires the OPERATOR role. When an allowed session is waiting to be paired, the exposed QR lets the key holder link an external device to the WhatsApp account and then read and send messages outside OpenWA and its audit trail. Keys restricted through allowedSessions remain limited to those sessions, and deployments that issue only OPERATOR or ADMIN keys are not affected. This issue is fixed in version 0.23.5.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/rmyndharis/OpenWA/commit/acc23c3803c07f43791a92e8e48456572fd6
- https://github.com/rmyndharis/OpenWA/commit/b9d9ea1c57bde98b7833a5d6e48299870366
- https://github.com/rmyndharis/OpenWA/pull/1602
- https://github.com/rmyndharis/OpenWA/releases/tag/v0.23.5
- https://github.com/rmyndharis/OpenWA/security/advisories/GHSA-m427-j4h4-9qwj
FAQ
What is CVE-2026-91160?
CVE-2026-91160 is a vulnerability with a CVSS score of 8.2 (HIGH). OpenWA is a free, open source, self-hosted WhatsApp API gateway. Prior to 0.23.5, the /events WebSocket gateway delivers the session.qr event to a VIEWER API key that subscribes by event name or throu...
How severe is CVE-2026-91160?
CVE-2026-91160 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-91160?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.