Skip to content

← Public intelligence

Go package

github.com/h44z/wg-portal

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.8GoPublished

    WireGuard Portal is Vulnerable to Privilege Escalation via User Self-Update to Admin Level

    CVE-2026-27899 · GHSA-5rmx-256w-8mj9

    Affected
    • Go github.com/h44z/wg-portal <= 2.1.2
    Fixed in
    2.1.3· Vendor fix available
    Issue
    Privilege Escalation to Admin via User Self-Update in wg-portal Summary Any authenticated non-admin user can become a full administrator by sending a single PUT request to their own user profile endpoint with "IsAdmin": true in the JSON body. After logging out and back in, the session picks up admin privileges from the database. Tested against wg-portal v2.1.2 (Docker image wgportal/wg-portal:v2). Root Cause When a user updates their own profile, the server parses the full JSON body into the user model, including the IsAdmin boolean field. A function responsible for preserving calculated or protected attributes pins certain fields to their database values (such as base model data, linked peer count, and authentication data), but it does not do this for IsAdmin. As a result, whatever value the client sends for IsAdmin is written directly to the database. Impact After the exploit, the attacker has full admin access to the WireGuard VPN management portal. They can: - Read and modify…

    Recommended action: Upgrade to 2.1.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 6.1GoPublished

    WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow

    GHSA-grh9-37g7-53mj

    Affected
    • Go github.com/h44z/wg-portal <= 2.1.1
    Fixed in
    2.1.2· Vendor fix available
    Issue
    An 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. Patches The problem was fixed in the latest release, v2.1.2. The docker images for the tag 'latest' built from the master branch also include the fix.

    Recommended action: Upgrade to 2.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. UnratedGoPublished

    WireGuard Portal v2 Vulnerable to OAuth Insecure Redirect URI / Account Takeover

    GHSA-2r2v-9pf8-6342

    Affected
    • Go github.com/h44z/wg-portal >= 2.0.0-alpha.1, < 2.0.0-alpha.3
    Fixed in
    2.0.0-alpha.3· Vendor fix available
    Issue
    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 for the tag 'latest' built from the master branch also include the fix.

    Recommended action: Upgrade to 2.0.0-alpha.3 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →