---
id: CVE-2026-54551
title: >-
  WireGuard Portal, or wg-portal, is a web-based configuration portal for
  WireGuard server management
summary: >-
  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 subs…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-285
vendor: h44z
product: wg-portal
affected:
  - 'wg-portal >= 2.2.0, < 2.3.0'
published: '2026-09-17'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:25:27.050'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54551'
references:
  - url: >-
      https://github.com/h44z/wg-portal/commit/316f389f11f3129f8603fcf3014fa7f19d7b3273
    label: security-advisories@github.com
  - url: 'https://github.com/h44z/wg-portal/releases/tag/v2.3.0'
    label: security-advisories@github.com
  - url: 'https://github.com/h44z/wg-portal/security/advisories/GHSA-r45j-3jxf-wgfr'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
epss: 0.0036
epssPercentile: 0.27121
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-21T21:00:43.952412Z'
ingestedAt: '2026-09-17T17:23:30.697Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
