GHSA-grh9-37g7-53mj: Github.com/h44z/wg portal WireGuard Portal V2 Has Open Vulnerability
MODERATEGHSA-grh9-37g7-53mj is a MODERATE (CVSS 6.1) wireguard portal v2 has open vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Github.com/h44z/wg portal libraries in the Go ecosystem. The issue involves wireguard portal v2 has open redirect vulnerability in oauth authentication flow. Remediation is available by upgrading affected packages to version 2.1.2.
GHSA-grh9-37g7-53mj at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix GHSA-grh9-37g7-53mj
To remediate this vulnerability, upgrade all affected Github.com/h44z/wg portal dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/h44z/wg-portal to 2.1.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/h44z/wg-portal
How to Check if You Are Affected
To determine whether your application is affected by GHSA-grh9-37g7-53mj, inspect your project dependencies for Github.com/h44z/wg portal:
inspect dependencies for github.com/h44z/wg-portal
Analyze the terminal output to locate any version of Github.com/h44z/wg portal in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Github.com/h44z/wg portal, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-grh9-37g7-53mj Affected Github.com/h44z/wg portal Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/h44z/wg-portal
|
Go |
< 2.1.2
|
2.1.2
|
References
Frequently Asked Questions
What is GHSA-grh9-37g7-53mj?
Which Github.com/h44z/wg portal versions are affected?
What version fixes GHSA-grh9-37g7-53mj?
Is github.com/h44z/wg-portal affected?
What is the CVSS score of GHSA-grh9-37g7-53mj?
What CWE is associated with GHSA-grh9-37g7-53mj?
How can I check Go dependencies for GHSA-grh9-37g7-53mj?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-grh9-37g7-53mj",
"modified" : "2026-02-02T21:16:49Z",
"published" : "2026-02-02T21:16:49Z",
"aliases" : [ ],
"summary" : "WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow",
"details" : "### 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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/h44z/wg-portal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.1.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/h44z/wg-portal/security/advisories/GHSA-grh9-37g7-53mj"
}, {
"type" : "WEB",
"url" : "https://github.com/h44z/wg-portal/commit/e62db0d62ebabbec39c767b953b92fb4b4d08a81"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/h44z/wg-portal"
}, {
"type" : "WEB",
"url" : "https://github.com/h44z/wg-portal/releases/tag/v2.1.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-02T21:16:49Z",
"nvd_published_at" : null
}
}