CVE-2026-91161
published medium CVSS 3.1 · 6.4OpenWA: VIEWER API keys can read WhatsApp group invite codes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rmyndharis | — | OpenWA< 0.23.5 | Affected | Not stated | GitHub_M |
Description
OpenWA is a free, open source, self-hosted WhatsApp API gateway. Prior to 0.23.5, the GET /api/sessions/{sessionId}/groups/{groupId}/invite-code endpoint and the GroupGetInviteCode MCP tool have no OPERATOR role requirement, allowing a valid VIEWER key scoped to a session to retrieve an active group invite code. The invite code is a transferable WhatsApp bearer capability, so an external account can join a group administered by the session without an OpenWA credential, gain read and post access to the group, and retain membership after the VIEWER key is revoked. Affected deployments are those that issue VIEWER keys to parties who should not be able to add accounts to administered groups; OPERATOR and ADMIN access is intended. This issue is fixed in version 0.23.5.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rmyndharis | OpenWA | < 0.23.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-863 CWE-863: Incorrect Authorization
References
5- https://github.com/rmyndharis/OpenWA/commit/a888a0121543426d4e1bf55f9edaed8306ae2699
- https://github.com/rmyndharis/OpenWA/commit/d66439db9653c7aa7cbfb763003c8d3cbc8f623c
- https://github.com/rmyndharis/OpenWA/pull/1572
- https://github.com/rmyndharis/OpenWA/releases/tag/v0.23.5
- https://github.com/rmyndharis/OpenWA/security/advisories/GHSA-45fh-xj7x-vj2x
Provider assertions
2GitHub_M · cna
OpenWA: VIEWER API keys can read WhatsApp group invite codes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a19b2a75e1469d529e802726206036e5bbd631e818efd06a7d316b3769b6f301
- Ingested
- 05 Oct 2026, 15:40:17 UTC
- Source record
- Official CVE record