GHSA-2r2v-9pf8-6342 WireGuard Portal v2 Vulnerable to OAuth Insecure Redirect URI / Account Takeover in github.com/h44z/wg-portal
An attacker can exploit an insecure OAuth redirect URI to hijack user accounts 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-2r2v-9pf8-6342?
GHSA-2r2v-9pf8-6342 is a vulnerability in github.com/h44z/wg-portal, published on 7 Jan 2025. 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
WireGuard Portal v2 Vulnerable to OAuth Insecure Redirect URI / Account Takeover 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 from v2.0.0-alpha.1 before v2.0.0-alpha.3.
Which versions are affected by GHSA-2r2v-9pf8-6342?
3 open source packages ship an affected version, including github.com/h44z/wg-portal.
| Package | Affected | Fixed in |
|---|---|---|
github.com/h44z/wg-portal Go | All versions | None |
github.com/h44z/wg-portal Go | From 2.0.0-alpha.1 | 2.0.0-alpha.3 |
github.com/h44z/wg-portal Go | From 2.0.0-alpha.1 | 2.0.0-alpha.3 |
How do I fix GHSA-2r2v-9pf8-6342?
Upgrade github.com/h44z/wg-portal to 2.0.0-alpha.3 or later.
Is GHSA-2r2v-9pf8-6342 being exploited?
There is no known exploitation of GHSA-2r2v-9pf8-6342 in the wild and no public exploit code.
Sources
Also known as GO-2025-3371.