CVE-2026-120951: An externally-controlled format string vulnerability exists in the Wireguard VPN Settings of the ADM
An externally-controlled format string vulnerability exists in the authenticated uploadwireguard action of settings/vpnupload.cgi in the ADM. The CGI takes an attacker-controlled WireGuard profile name, inserts it into a JSON object, serializes it, and passes the resulting formatted string directly to printf as the format argument without validation or escaping. An authenticated remote attacker can exploit this vulnerability by sending format string specifiers, or leverage variadic read/write primitives within the non-PIE, non-Canary root CGI to potentially achieve arbitrary remote code execution with root privileges. Affected products and versions include: from ADM 4.1.0 through ADM 4.3.3.RY62 as well as from ADM 5.0.0 through ADM 5.1.4.RM62.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An attacker must be able to authenticate remotely to ADM and invoke the upload_wireguard action in settings/vpnupload.cgi. The vulnerable input is the attacker-controlled WireGuard profile name.
Which ADM releases are affected?
Affected releases are ADM 4.1.0 through 4.3.3.RY62 and ADM 5.0.0 through 5.1.4.RM62.
What level of impact could successful exploitation have?
The vulnerable CGI runs as root and lacks PIE and stack-canary protections. Format-string specifiers may provide variadic read/write primitives that could potentially be leveraged for arbitrary remote code execution with root privileges.