Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to wg-easy UI with clients.create
-
DeliveryCreate client with newline-injected PostUp directive
-
ExploitDirective written into WireGuard config unescaped
-
Executionwg-quick applies interface as root
-
PersistPostUp command executes
-
ImpactRoot code execution on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated wg-easy user holding the clients.create permission (PR:L) and network reachability to the management web interface (AV:N). The concrete trigger is the client name field: the attacker must supply a name containing a newline character followed by a valid WireGuard directive (e.g. PostUp), and the injected command executes only when wg-quick brings the interface up as root. Limiting factors: the attacker cannot be fully unauthenticated (a valid account with the specific clients.create grant is mandatory), exploitation depends on wg-quick running with root privileges (the default for interface management), and instances that tightly restrict the clients.create permission or isolate the UI substantially reduce exposure. This is not exploitable against a properly locked-down single-admin deployment by an outside anonymous user. |
| Impact | Signals are largely consistent and point to genuine high priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 9.9) indicates remote, low-complexity, low-privilege exploitation with a scope change to root - matching the description exactly, since PR:L corresponds to an authenticated clients.create user pivoting from the app to the host OS. No EPSS score, KEV entry, or POC was provided, so exploitation is currently theoretical from public data: treat as 'no public exploit identified at time of analysis' rather than active exploitation. The main mitigating factor absent from raw CVSS is that an attacker must already hold a valid account with the clients.create permission, so real-world risk concentrates on multi-user or internet-exposed deployments; a single-admin, network-isolated instance is lower urgency. Given the trivial exploitation mechanics once that permission is held and root impact, this should be prioritized over many nominally-critical bugs that need chained conditions. |
| Exploit ScenarioDerived | An attacker who has (or phishes/obtains) a wg-easy account with the clients.create permission opens the web UI and creates a new client whose name contains a newline followed by a directive such as 'PostUp = <reverse shell or command>'. When that WireGuard interface configuration is applied by wg-quick, the injected directive runs as root, giving the attacker full command execution on the host. No public POC is referenced, but the technique is straightforward and needs no user interaction beyond the attacker's own actions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Root-level OS command injection in wg-easy 15.3.0 lets a low-privileged web user holding the clients.create permission escalate to full host compromise. Because the client name is written verbatim into the WireGuard config, an attacker embeds newline-separated PostUp directives that wg-quick later executes as root. No public exploit identified at time of analysis, but the CVSS 9.9 (S:C, full C/I/A) and simple, GUI-driven injection make this a high-priority issue for any exposed wg-easy instance.
RemediationAI
No vendor-released patch version is identified at time of analysis, so upgrade to a fixed release as soon as one is published on the wg-easy repository (https://github.com/wg-easy/wg-easy) - monitor its releases/security advisories, since EUVD-2026-56042 marks everything up to 15.3.0 as vulnerable. As compensating controls until a patch exists: restrict who holds the clients.create permission to fully trusted administrators only (the injection is only reachable by users with that grant), and audit existing client entries for names containing newlines or 'PostUp'/'PostDown' strings. Place the wg-easy management interface behind a VPN or IP allow-list rather than exposing it to the internet, and where feasible run wg-quick/wg-easy with reduced privileges or within a hardened container so an injected PostUp does not directly yield host root - noting that dropping privileges may break WireGuard interface management and require additional capability tuning. Validate/normalize client names on input as a stopgap if you maintain a local fork.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
wg-easy is a self-hosted web UI and management wrapper around WireGuard, generating and applying wg-quick configuration files. WireGuard config files support lifecycle hook directives such as PostUp/PostDown that run arbitrary shell commands when the interface is brought up. The affected component is cpe:2.3:a:wg-easy:wg-easy at version 15.3.0 (EUVD lists all versions up to and including 15.3.0). The root cause is CWE-78 (OS Command Injection): the client name field is serialized into the [Interface]/[Peer] config context without neutralizing newline characters, so a name containing a line break followed by 'PostUp = <cmd>' becomes a first-class config directive. wg-quick is typically run as root to manipulate network interfaces, so any injected PostUp command inherits root privileges.
Know when Wg Easy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Authenticated clients.create user (PR:L) exploits a network-facing UI (AV:N/AC:L) and escapes the app to run commands as root on the host, a scope change (S:C) with full C/I/A impact.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
DescriptionCVE.org
An OS command injection vulnerability in wg-easy 15.3.0 allows users with the clients.create permission to execute arbitrary commands as root by injecting newline-delimited WireGuard PostUp directives into the client name field. The client name is written to the WireGuard configuration file without neutralizing newline characters, allowing injection of arbitrary directives that are executed by wg-quick with root privileges. An attacker with clients.create permission achieves root code execution on the host.
Executive ViewAI
Organizations using wg-easy 15.3.0 face complete host compromise through its web management interface, where authenticated users can escalate to root system control. While no public exploit has been identified at time of analysis, the straightforward exploitation path and CVSS 9.9 severity create urgent risk for any internet-exposed instance. All downstream VPN clients, infrastructure, and connected systems are vulnerable to total takeover.
Network isolation is essential: restrict wg-easy to internal or VPN-only access, blocking untrusted users. Layer Web Application Firewall or input validation rules to reject malicious client name patterns. Isolate affected systems from critical infrastructure using network segmentation. Initiate emergency migration to a patched alternative VPN management solution.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-56042
GHSA-g5jq-gh88-3gmw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB