Skip to content
OpenAdvisories
Critical · 9.9 CVE-2026-72603 EUVD-2026-56042GHSA-g5jq-gh88-3gmw

wg-easy wg-easy - OS Command Injection

Published Aug 11, 2026 · Updated Aug 11, 2026 · Assigned by TuranSec

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.

Affected products

VendorProductAffectedFixed
wg-easy wg-easy ≤ 15.3.0 —

References