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.

Project Subscriptions

Vendors Products
Wg-easy Subscribe
Wg-easy Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

References
History

Tue, 11 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Wg-easy
Wg-easy wg-easy
Vendors & Products Wg-easy
Wg-easy wg-easy

Tue, 11 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 11 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Description 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.
Title wg-easy wg-easy - OS Command Injection
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-11T12:12:36.276Z

Reserved: 2026-08-10T10:33:03.258Z

Link: CVE-2026-72603

cve-icon Vulnrichment

Updated: 2026-08-11T12:12:32.626Z

cve-icon NVD

Status : Received

Published: 2026-08-11T12:17:43.383

Modified: 2026-08-11T13:19:04.313

Link: CVE-2026-72603

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T17:15:06Z

Weaknesses