6.1medium
WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow
- Severity
- 6.1medium CVSS:3.1 by GitHub
- Published
- Last changed
- Also known as
- GO-2026-4398
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 for the tag 'latest' built from the master branch also include the fix.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/h44z/wg-portal (Go) | before 2.1.2, all versions | GitHub Advisory Database, Go Vulnerability Database |
Classification
What each source says
GitHub Advisory Database
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.
Go Vulnerability Database
WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow in github.com/h44z/wg-portal.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/h44z/wg-portal before v2.1.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-grh9-37g7-53mj changed 2026-02-05 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4398 changed 2026-02-05 | CC-BY-4.0 |