← Vulnerability feed

Vulnerability record · CVE-2026-27899 · published 26 February 2026

CVE-2026-27899: Wgportal wireguard portal improper privilege management vulnerability

Wgportal · Wireguard Portal

WireGuard Portal (or wg-portal) is a web-based configuration portal for WireGuard server management. Prior to version 2.1.3, 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. 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. After the exploit, the attacker has full admin access to the WireGuard VPN management portal. The problem was fixed in v2.1.3. The docker images for the tag 'latest' built from the master branch also include the fix.

8.8 CVSS 3.1 High EPSS 0.55% · top 56.4% CWE-269 · Improper privilege managementCWE-863 · Incorrect authorization
8.8CVSS 3.1 base score
0.55%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References
17 Jun 2026Last modified by NVD

Description

WireGuard Portal (or wg-portal) is a web-based configuration portal for WireGuard server management. Prior to version 2.1.3, 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. 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. After the exploit, the attacker has full admin access to the WireGuard VPN management portal. The problem was fixed in v2.1.3. The docker images for the tag 'latest' built from the master branch also include the fix.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-27899 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2026-84869ScreenConnect client allows unauthorized file transfer and execution in remote sessionsA flaw in the ConnectWise ScreenConnect client lets files be transferred and executed inside an active remote session without authorization or Host c…KEVEPSS 0.92%analysed9.8CVE-2026-46817Oracle E-Business Suite Payments missing authentication allows takeoverOracle Payments in Oracle E-Business Suite 12.2.3 through 12.2.15 contains an easily exploitable flaw in the File Transmission component. An unauthen…KEVEPSS 0.81%analysed7.8CVE-2026-21533Windows Remote Desktop improper privilege management allows local elevationWindows Remote Desktop contains an improper privilege management flaw (CWE-269) that lets an authorized attacker elevate privileges locally. It affec…KEVEPSS 4.1%analysed5.1CVE-2024-8068Citrix Session Recording privilege escalation to NetworkServiceCitrix Session Recording contains an improper privilege management flaw (CWE-269) that lets an authenticated attacker escalate to the NetworkService …KEVEPSS 3.5%analysed9.8CVE-2024-49035Microsoft Partner Center improper access control allows privilege elevationPartner.Microsoft.com contains an improper access control flaw (CWE-269) that lets an unauthenticated attacker elevate privileges over the network. M…KEVEPSS 1.3%analysed8.8CVE-2013-0643Adobe Flash Player Firefox sandbox privilege escalationAdobe Flash Player's Firefox sandbox does not properly restrict privileges, allowing crafted SWF content to escape the sandbox and run code with high…KEVEPSS 11%analysed7.8CVE-2024-38014Windows Installer Elevation of Privilege FlawCVE-2024-38014 is an elevation of privilege vulnerability in the Windows Installer, classified as improper privilege management (CWE-269). It affects…KEVEPSS 6.3%analysed7.8CVE-2024-26169Windows Error Reporting Service privilege escalation flawCVE-2024-26169 is an improper privilege management vulnerability in the Windows Error Reporting Service, classified under CWE-269. A local attacker w…KEVEPSS 4.0%analysed

Source: NIST National Vulnerability Database (record CVE-2026-27899), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.