Skip to content
OpenAdvisories
Medium · 6.1 GHSA-grh9-37g7-53mj GO-2026-4398

WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow

Published Feb 2, 2026 · Updated Feb 5, 2026 · Assigned by GHSA

Description

### Summary
An Open Redirect vulnerability exists in the OAuth authentication flow that allows attackers to redirect users to external malicious websites after authentication. The vulnerability is caused by insufficient validation of the return parameter in the OAuth login initialization endpoint.

### Patches
The problem was fixed in the latest release, v2.1.2. The [docker images](https://hub.docker.com/r/wgportal/wg-portal) for the tag 'latest' built from the master branch also include the fix.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/h44z/wg-portal < 2.1.2 2.1.2 GHSA-grh9-37g7-53mj
Go github.com/h44z/wg-portal all versions — GO-2026-4398

References