CVE-2026-72603 PUBLISHED

wg-easy wg-easy - OS Command Injection

Assigner: TuranSec
Reserved: 10.08.2026 Published: 11.08.2026 Updated: 11.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 9.9

Product Status

Vendor wg-easy
Product wg-easy
Versions
  • affected from 0 to 15.3.0 (incl.)

Credits

  • Bobur Abdugafforov finder

References

Problem Types

  • CWE-78: OS Command Injection CWE