Advisory

GHSA-grh9-37g7-53mj

Also known as: GO-2026-4398

Summary

WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-02 21:16 UTC
Modified
2026-02-05 09:56 UTC

Affected packages and fixes

github.com/h44z/wg-portal

Go · All systems

Affected

  • introduced 0, fixed 2.1.2 (semver)

Fixed versions

2.1.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences