# CVE-2026-91160: OpenWA: A read-only API key can receive a session pairing QR over the WebSocket event stream

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-09-24T16:42:02.788Z
- Modified: 2026-10-05T16:17:17.470Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rmyndharis OpenWA: < 0.23.5

## References

- <https://github.com/rmyndharis/OpenWA/security/advisories/GHSA-m427-j4h4-9qwj>
- <https://github.com/rmyndharis/OpenWA/pull/1602>
- <https://github.com/rmyndharis/OpenWA/commit/acc23c3803c07f43791a92e8e48456572fd69bdc>
- <https://github.com/rmyndharis/OpenWA/commit/b9d9ea1c57bde98b7833a5d6e482998703667ef0>
- <https://github.com/rmyndharis/OpenWA/releases/tag/v0.23.5>

## Sources

- CVE List: [CVE-2026-91160](https://www.cve.org/CVERecord?id=CVE-2026-91160), CVE Terms of Use, modified 2026-10-05
- NVD: [CVE-2026-91160](https://nvd.nist.gov/vuln/detail/CVE-2026-91160), Public domain, modified 2026-10-05

---

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