GHSA-grh9-37g7-53mj: WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow
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.
Published Feb 2, 2026
Affected packages
github.com/h44z/wg-portal
- Ecosystem
- Go
- Affected
- <= 2.1.1
- Fixed in
- 2.1.2
- Check
go list -m github.com/h44z/wg-portal
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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 for the tag 'latest' built from the master branch also include the fix.
Credited to coolsarne, floerer.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
