CVE-2026-15734
9.8WGDashboard · WGDashboard
A Server-Side Template Injection (SSTI) vulnerability in WGDashboard allows authenticated attackers to execute arbitrary code as root.
Executive summary
WGDashboard versions 4.3.2 and earlier are vulnerable to a critical Server-Side Template Injection flaw that permits remote code execution with root privileges.
Vulnerability
This is a Server-Side Template Injection (SSTI) vulnerability, classified as CWE-1336, occurring within the application template engine. Although the description mentions authenticated attackers, the CVSS vector (PR:N) indicates this flaw is accessible to unauthenticated actors, allowing for full system compromise.
Business impact
The ability for an attacker to execute arbitrary code with root-level privileges poses a catastrophic risk to organizational security. Successful exploitation could lead to total system takeover, unauthorized access to sensitive VPN configuration data, and complete operational disruption. Given the CVSS score of 9.8, this vulnerability is considered critical and requires immediate attention to prevent full infrastructure compromise.
Remediation
Immediate Action: Upgrade to the latest available version of WGDashboard to address the underlying template injection flaw. If an update is not currently available, restrict network access to the dashboard instance to trusted management segments only.
Proactive Monitoring: Monitor server logs for unexpected template engine errors or anomalous HTTP requests containing Jinja2 or template-specific syntax. Review system process execution logs for unauthorized commands initiated by the web application service account.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block common SSTI payloads and suspicious template injection patterns. Enforce strict network segmentation to minimize the impact if the application is compromised.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists as referenced in the research write-up (https://github.com/Stuub/WGDashboard-v4.3.2-SSTI-to-Root-RCE-PoC).
Analyst recommendation
The presence of a public proof-of-concept combined with the potential for root-level code execution necessitates an urgent response. Administrators should prioritize identifying all instances of WGDashboard within the environment and applying the latest security patches as soon as they are released by the vendor. Until patching is completed, the service should be isolated from the public internet to mitigate the risk of unauthorized access.