CVE-2026-72603
Received Received - Intake

OS Command Injection in wg-easy 15.3.0

Vulnerability report for CVE-2026-72603, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-11

Last updated on: 2026-08-11

Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-11
Last Modified
2026-08-11
Generated
2026-08-11
AI Q&A
2026-08-11
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wg-easy wg-easy 15.3.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is an OS command injection vulnerability in wg-easy version 15.3.0. Users with clients.create permission can inject newline-delimited WireGuard PostUp directives into the client name field. The client name is written to the WireGuard config file without sanitizing newline characters, allowing arbitrary commands to be executed as root by wg-quick.

Detection Guidance

Check WireGuard configuration files for client names containing newline characters or suspicious PostUp directives. Inspect logs for unexpected root-level command execution by wg-quick.

Impact Analysis

An attacker with clients.create permission can gain root-level code execution on the host system. This could allow full system compromise, unauthorized access, data theft, or further network infiltration depending on the host's environment and privileges.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, violating confidentiality requirements under GDPR and HIPAA. Organizations may face compliance violations, fines, or legal consequences if exploited, especially if sensitive data is exposed or modified.

Mitigation Strategies

Upgrade wg-easy to a patched version if available. Restrict clients.create permission to trusted users only. Monitor WireGuard config files for unauthorized changes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-72603. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart