{"id":"GHSA-grh9-37g7-53mj","aliases":["GO-2026-4398"],"status":"published","title":"WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow","description":"### Summary\nAn 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.\n\n### Patches\nThe problem was fixed in the latest release, v2.1.2. The [docker images](https://hub.docker.com/r/wgportal/wg-portal) for the tag 'latest' built from the master branch also include the fix.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-601"],"published":"2026-02-02T21:16:49Z","modified":"2026-02-05T09:56:23Z","fixes":[{"ecosystem":"Go","package":"github.com/h44z/wg-portal","fixed_in":["2.1.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/h44z/wg-portal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.1.1"},{"fixed":"2.1.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/h44z/wg-portal","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/h44z/wg-portal","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"references":[{"url":"https://github.com/h44z/wg-portal/security/advisories/GHSA-grh9-37g7-53mj","tags":["web","advisory"]},{"url":"https://github.com/h44z/wg-portal/commit/e62db0d62ebabbec39c767b953b92fb4b4d08a81","tags":["web","fix"]},{"url":"https://github.com/h44z/wg-portal/releases/tag/v2.1.2","tags":["web"]},{"url":"https://github.com/advisories/GHSA-grh9-37g7-53mj"},{"url":"https://github.com/h44z/wg-portal","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-grh9-37g7-53mj","title":"WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow","description":"### Summary\nAn 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.\n\n### Patches\nThe problem was fixed in the latest release, v2.1.2. The [docker images](https://hub.docker.com/r/wgportal/wg-portal) for the tag 'latest' built from the master branch also include the fix.","status":"published","published":"2026-02-02T21:16:49Z","modified":"2026-02-02T21:16:49Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:39:21.558748Z"}],"osv":[{"id":"GHSA-grh9-37g7-53mj","title":"WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow","description":"### Summary\nAn 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.\n\n### Patches\nThe problem was fixed in the latest release, v2.1.2. The [docker images](https://hub.docker.com/r/wgportal/wg-portal) for the tag 'latest' built from the master branch also include the fix.","status":"published","published":"2026-02-02T21:16:49Z","modified":"2026-02-05T09:56:23.468869Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"GO-2026-4398","title":"WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow in github.com/h44z/wg-portal","description":"WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow 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 before v2.1.2.","status":"published","published":"2026-02-05T03:20:45Z","modified":"2026-02-05T09:56:23.468869Z","updated_at":"2026-11-02T15:47:02.011123Z"}]}}
