CVE-2026-11451: GL.iNet GL-MT3000 FTP Protocol glc snprintf command injection
A flaw has been found in GL.iNet GL-MT3000 4.4.5. This impacts the function snprintf of the file /cgi-bin/glc of the component FTP Protocol Handler. Executing a manipulation of the argument mediadir can lead to command injection. It is possible to launch the attack remotely. Upgrading to version 4.8.1 will fix this issue. You should upgrade the affected component. The vendor explains: "In version 4.8.1, before writing mediadir to the FTP configuration command, the code escapes single quotes using escapesinglequote(). The payloads in the report—which rely on closing a single quote, appending commands with a semicolon, and commenting out the tail with #—cannot escape execution under the current code path. We also verified this on a GL‑MT3000 device running firmware version 4.8.1 using similar payloads calling the /NASAPISETPROTOCONFIG interface. Although the interface returned success, the marker file intended to prove command execution was not created; the payload was written into /etc/vsftpd.conf only as ordinary configuration content and did not trigger any shell command execution. Therefore, with the current firmware version and default runtime environment, we could not reproduce the claimed “unauthorized command injection in setprotoconfig”."
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GL.iNet GL-MT3000 firmwareto a version that resolves this vulnerability.Fixed in 4.8.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-11451?
The severity of CVE-2026-11451 is rated high with a score of 7.3.
How does CVE-2026-11451 affect GL.iNet GL-MT3000 devices?
CVE-2026-11451 affects the snprintf function in the FTP Protocol Handler, allowing for command injection through the media_dir argument.
How can I mitigate the risk associated with CVE-2026-11451?
To mitigate the risk from CVE-2026-11451, upgrade to the latest version of the GL.iNet GL-MT3000 firmware.
Is CVE-2026-11451 exploitable remotely?
Yes, CVE-2026-11451 can be exploited remotely due to its nature of command injection.
What versions of GL.iNet GL-MT3000 are affected by CVE-2026-11451?
GL.iNet GL-MT3000 version 4.4.5 is specifically affected by CVE-2026-11451.