CVE-2026-11451: Command Injection in GL.iNet GL-MT3000
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 media_dir 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 media_dir to the FTP configuration command, the code escapes single quotes using escape_single_quote(). 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 /NAS_API_SET_PROTO_CONFIG 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 set_proto_config”."
AI Analysis
Technical Summary
CVE-2026-11451 is a command injection vulnerability affecting GL.iNet GL-MT3000 firmware version 4.4.5. The vulnerability arises from insufficient sanitization of the media_dir argument passed to snprintf in the FTP Protocol Handler's /cgi-bin/glc file. Attackers can remotely exploit this flaw to execute arbitrary commands on the device. The vendor fixed the issue in version 4.8.1 by escaping single quotes before writing media_dir to the FTP configuration command, effectively preventing command injection payloads from executing. Testing on version 4.8.1 confirmed that attempts to exploit the vulnerability no longer result in command execution.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary commands on the affected GL.iNet GL-MT3000 device, potentially compromising device integrity and confidentiality. This could lead to unauthorized control over the device or disruption of services. The CVSS 4.0 base score is 6.9 (medium severity), reflecting the network attack vector, no required privileges or user interaction, and low to limited impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade the GL.iNet GL-MT3000 firmware to version 4.8.1 or later, where the vulnerability is fixed by proper input escaping. No additional mitigation is required as the vendor patch fully addresses the issue.
CVE-2026-11451: Command Injection in GL.iNet GL-MT3000
Description
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 media_dir 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 media_dir to the FTP configuration command, the code escapes single quotes using escape_single_quote(). 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 /NAS_API_SET_PROTO_CONFIG 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 set_proto_config”."
CVSS v4.0
Score 6.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-11451 is a command injection vulnerability affecting GL.iNet GL-MT3000 firmware version 4.4.5. The vulnerability arises from insufficient sanitization of the media_dir argument passed to snprintf in the FTP Protocol Handler's /cgi-bin/glc file. Attackers can remotely exploit this flaw to execute arbitrary commands on the device. The vendor fixed the issue in version 4.8.1 by escaping single quotes before writing media_dir to the FTP configuration command, effectively preventing command injection payloads from executing. Testing on version 4.8.1 confirmed that attempts to exploit the vulnerability no longer result in command execution.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary commands on the affected GL.iNet GL-MT3000 device, potentially compromising device integrity and confidentiality. This could lead to unauthorized control over the device or disruption of services. The CVSS 4.0 base score is 6.9 (medium severity), reflecting the network attack vector, no required privileges or user interaction, and low to limited impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade the GL.iNet GL-MT3000 firmware to version 4.8.1 or later, where the vulnerability is fixed by proper input escaping. No additional mitigation is required as the vendor patch fully addresses the issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-06-06T10:33:20.923Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a24eda5e29bf47b50792d9e
Added to database: 06/07/2026, 04:03:49 UTC
Last enriched: 06/14/2026, 09:38:52 UTC
Last updated: 07/21/2026, 20:57:06 UTC
Views: 152
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.