GHSA-grh9-37g7-53mj WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow

Not scored Published

Attackers can redirect users to malicious sites after OAuth login due to insufficient validation of the return parameter in WireGuard Portal v2.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-grh9-37g7-53mj?

GHSA-grh9-37g7-53mj is a vulnerability in github.com/h44z/wg-portal, published on 2 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Which versions are affected by GHSA-grh9-37g7-53mj?

3 open source packages ship an affected version, including github.com/h44z/wg-portal.

PackageAffectedFixed in
github.com/h44z/wg-portal GoAll versionsNone
github.com/h44z/wg-portal GoAll versions2.1.2
github.com/h44z/wg-portal GoAll versions2.1.2

How do I fix GHSA-grh9-37g7-53mj?

Upgrade github.com/h44z/wg-portal to 2.1.2 or later.

Is GHSA-grh9-37g7-53mj being exploited?

There is no known exploitation of GHSA-grh9-37g7-53mj in the wild and no public exploit code.

Sources

Also known as GO-2026-4398.

Is GHSA-grh9-37g7-53mj in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free