CVE-2026-27899
Last modified
CVE-2026-27899 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wgportal | Wireguard Portal | < 2.1.3 |
References
- https://github.com/h44z/wg-portal/security/advisories/GHSA-5rmx-256w-8mj9Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-27899?
How severe is CVE-2026-27899?
How do I fix CVE-2026-27899?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-27893vLLM is an inference and serving engine for large language m…8.8
- CVE-2026-27894LDAP Account Manager (LAM) is a webfrontend for managing ent…8.8
- CVE-2026-27895LDAP Account Manager (LAM) is a webfrontend for managing ent…8.8
- CVE-2026-27896The Go MCP SDK used Go's standard encoding/json.Unmarshal fo…7.5
- CVE-2026-27897Vociferous provides cross-platform, offline speech-to-text w…7.1
- CVE-2026-27898Vaultwarden is an unofficial Bitwarden compatible server wri…5.4
- CVE-2026-2790Same-origin policy bypass in the Networking: JAR component. …9.8
- CVE-2026-27900The Terraform Provider for Linode versions prior to v3.9.0 l…7.7
- CVE-2026-27901Svelte performance oriented web framework. Prior to version …6.1
- CVE-2026-27902Svelte performance oriented web framework. Prior to version …5.4
- CVE-2026-27903minimatch is a minimal matching utility for converting glob …7.5
- CVE-2026-27904minimatch is a minimal matching utility for converting glob …7.5
Are you affected by CVE-2026-27899?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
