{"id":"GHSA-2r2v-9pf8-6342","aliases":["GHSA-2r2v-9pf8-6342","GO-2025-3371"],"related":[],"kind":"vulnerability","state":"published","title":"WireGuard Portal v2 Vulnerable to OAuth Insecure Redirect URI / Account Takeover","summary":"### Impact\nUsers 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.\n\n### Patches\nThe 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\nUsers 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.\n\n### Patches\nThe 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"WireGuard Portal v2 Vulnerable to OAuth Insecure Redirect URI / Account Takeover in github.com/h44z/wg-portal.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/h44z/wg-portal from v2.0.0-alpha.1 before v2.0.0-alpha.3.","format":"markdown","source":"go"}],"published":"2025-01-07T15:52:16.000Z","modified":"2025-01-08T19:42:21.896Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.0-alpha.1","status":"affected","fixed":"2.0.0-alpha.3"}],"ecosystem":"Go","package":"github.com/h44z/wg-portal","purl":"pkg:golang/github.com/h44z/wg-portal","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/h44z/wg-portal","purl":"pkg:golang/github.com/h44z/wg-portal","source":"go"}],"references":[{"url":"https://github.com/h44z/wg-portal/security/advisories/GHSA-2r2v-9pf8-6342","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/h44z/wg-portal/commit/62dbdfe0f96045d46e121d509fc181fbb7936895","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/h44z/wg-portal","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2r2v-9pf8-6342","url":"https://github.com/advisories/GHSA-2r2v-9pf8-6342","licence":"CC-BY-4.0","modified":"2025-01-08T19:42:21.896Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3371","url":"https://pkg.go.dev/vuln/GO-2025-3371","licence":"CC-BY-4.0","modified":"2025-01-08T19:42:21.896Z"}],"updatedAt":"2026-11-25T22:56:23.935Z"}