CVE-2026-72603
CriticalCVSS 9.9Summary
An OS command injection vulnerability in wg-easy 15.3.0 allows users with 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 configuration file without neutralizing newline characters.
Risk Assessment
An attacker with clients.create permission can gain full root control of the host, leading to complete system compromise.
Recommendation
Update wg-easy to a version that neutralizes newline characters in the client name. Restrict clients.create permission to trusted users only.
Original NVD description (English source)
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.

