CVE-2026-72603

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.
References
Configurations

No configuration.

History

23 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad de inyección de comandos del sistema operativo en wg-easy 15.3.0 permite a los usuarios con el permiso clients.create ejecutar comandos arbitrarios como root inyectando directivas WireGuard PostUp delimitadas por saltos de línea en el campo de nombre del cliente. El nombre del cliente se escribe en el archivo de configuración de WireGuard sin neutralizar los caracteres de salto de línea, lo que permite la inyección de directivas arbitrarias que son ejecutadas por wg-quick con privilegios de root. Un atacante con permiso clients.create logra la ejecución de código como root en el host.

Information

Published : 2026-08-11 12:17

Updated : 2026-10-24 15:10


NVD link : CVE-2026-72603

Mitre link : CVE-2026-72603

CVE.ORG link : CVE-2026-72603


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')