GHSA-grh9-37g7-53mj
JSON

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 packageVersionsReported by
github.com/h44z/wg-portal (Go)before 2.1.2, all versionsGitHub 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

SourceRecordLicence
GitHub Advisory DatabaseGHSA-grh9-37g7-53mj changed 2026-02-05CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4398 changed 2026-02-05CC-BY-4.0