Vulnerability · Published Sep 17, 2026 · Assigned by GitHub_M
CVE-2026-54551WireGuard Portal: Authenticated WebSocket /api/v0/ws broadcasts all peers' and interfaces' traffic stats to every user (missing per-user authorization)
Medium 4.3
In plain English
A medium-severity security flaw in wg-portal from h44z. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities).
Official description
WireGuard Portal, or wg-portal, is a web-based configuration portal for WireGuard server management. From 2.2.0 until 2.3.0, the authenticated GET /api/v0/ws statistics WebSocket in internal/app/api/v0/handlers/endpoint_websocket.go subscribes to TopicPeerStatsUpdated and TopicInterfaceStatsUpdated and forwards every TrafficDelta event without per-user authorization in handleWebsocket(). A low-privilege user can enumerate peer public keys through EntityId and monitor BytesReceived and BytesTransmitted values for peers belonging to other users. The same connection exposes interface_stats and interface names that the REST API limits to administrators. Tunnel content, AllowedIPs, and user identities remain authorization-gated. This issue is fixed in version 2.3.0.
Affected products (as reported)
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/h44z/wg-portal/security/advisories/GHSA-r45j-3jxf-wgfr x_refsource_CONFIRM
- https://github.com/h44z/wg-portal/commit/316f389f11f3129f8603fcf3014fa7f19d7b3273 x_refsource_MISC
- https://github.com/h44z/wg-portal/releases/tag/v2.3.0 x_refsource_MISC