CVE-2026-91160 Details
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.
A vulnerability in OpenWA's WebSocket event handling allows VIEWER API keys to receive session pairing QR codes, which should be restricted to OPERATOR and ADMIN keys. This issue is present in OpenWA versions prior to 0.23.5. The vulnerability arises because the WebSocket gateway broadcasts the session.qr event to all subscribed sockets, regardless of their role, while the REST API correctly enforces the role requirement. As a result, a VIEWER key holder could link an external device to a WhatsApp account and send or read messages outside of OpenWA's audit trail.
Upgrade to OpenWA version 0.23.5 or later, which fixes the vulnerability by ensuring that the session.qr WebSocket event is only delivered to keys with the OPERATOR or ADMIN role. After upgrading, rotate any VIEWER keys held by untrusted parties.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 24, 2026CISA-ADP
Assessed Oct 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rmyndharis/OpenWA/commit/acc23c3803c07f43791a92e8e48456572fd69bdc | [email protected] | Source CodeVendor |
| https://github.com/rmyndharis/OpenWA/commit/b9d9ea1c57bde98b7833a5d6e482998703667ef0 | [email protected] | Source CodeVendor |
| https://github.com/rmyndharis/OpenWA/pull/1602 | [email protected] | Source CodeVendor |
| https://github.com/rmyndharis/OpenWA/releases/tag/v0.23.5 | [email protected] | Release NotesVendor |
| https://github.com/rmyndharis/OpenWA/security/advisories/GHSA-m427-j4h4-9qwj | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OpenWA | <= 0.23.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 5, 2026 | CVE Modified | CISA-ADP |
| Sep 24, 2026 | New CVE Received | [email protected] |
Volerion