# GHSA-2r2v-9pf8-6342: WireGuard Portal v2 Vulnerable to OAuth Insecure Redirect URI / Account Takeover

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-01-07T15:52:16.000Z
- Modified: 2025-01-08T19:42:21.896Z
- Also known as: GO-2025-3371

## Description

### Impact
Users of WireGuard Portal v2 who have OAuth (or OIDC) authentication backends enabled can be affected by an Account Takeover vulnerability if they visit a malicious website.

### Patches
The problem was fixed in the latest alpha release, v2.0.0-alpha.3. The [docker images](https://hub.docker.com/r/wgportal/wg-portal) for the tag 'latest' built from the master branch also include the fix.

(As written by GitHub Advisory Database.)

## Affected

- github.com/h44z/wg-portal (Go): from 2.0.0-alpha.1 before 2.0.0-alpha.3; all versions

## References

- <https://github.com/h44z/wg-portal/security/advisories/GHSA-2r2v-9pf8-6342> (advisory, web)
- <https://github.com/h44z/wg-portal/commit/62dbdfe0f96045d46e121d509fc181fbb7936895> (fix, web)
- <https://github.com/h44z/wg-portal> (package)

## Sources

- GitHub Advisory Database: [GHSA-2r2v-9pf8-6342](https://github.com/advisories/GHSA-2r2v-9pf8-6342), CC-BY-4.0, modified 2025-01-08
- Go Vulnerability Database: [GO-2025-3371](https://pkg.go.dev/vuln/GO-2025-3371), CC-BY-4.0, modified 2025-01-08

---

Page: https://cve.day/GHSA-2r2v-9pf8-6342 · Whole record: https://cve.day/GHSA-2r2v-9pf8-6342.json · Rebuilt by cve.day 2026-11-25T22:56:23.935Z
