HIGH 8.8

CVE-2026-12187: GL.iNet GL-MT3000 Command Injection in Firmware Upgrade Handler

GL.iNet GL-MT3000 routers running firmware versions up to 4.4.5 contain a command injection vulnerability in the online firmware upgrade mechanism. An authenticated attacker can exploit this flaw to execute arbitrary commands on the device with full system privileges. The vulnerability has been publicly disclosed and proof-of-concept code is available, increasing the risk of active exploitation. GL.iNet has released a patch in version 4.7 that resolves the issue.

Source data · NVD / CISA · public domain

CVSS
3.1 · 8.8 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses (CWE)
CWE-74, CWE-77
Affected products
0 configuration(s)
Published / Modified
2026-06-14 / 2026-06-17

NVD description (verbatim)

A security vulnerability has been detected in GL.iNet GL-MT3000 up to 4.4.5. Affected by this vulnerability is an unknown functionality of the file /usr/bin/one_click_upgrade of the component Online Firmware Upgrade Handler. Such manipulation leads to command injection. The attack can be launched remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 4.7 addresses this issue. Upgrading the affected component is advised. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

6 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-12187 is a command injection vulnerability (CWE-74, CWE-77) affecting the /usr/bin/one_click_upgrade binary, which handles online firmware updates on GL-MT3000 devices. The vulnerability allows an authenticated user to manipulate input to the Online Firmware Upgrade Handler component, leading to unvalidated command execution. The attack vector is network-based with low attack complexity, requiring only valid credentials. The CVSS 3.1 score of 8.8 (HIGH) reflects the high impact to confidentiality, integrity, and availability. Public disclosure of the vulnerability and availability of exploit code elevate operational risk.

Business impact

Compromise of GL-MT3000 routers—often deployed as primary network gateways in remote offices, branch locations, or home networks—poses significant business risk. An authenticated attacker could gain root-level access to pivot into internal networks, exfiltrate sensitive data, establish persistent backdoors, or disrupt connectivity. Organizations relying on these devices for site-to-site VPN, DNS filtering, or network segmentation should treat this as a priority remediation target. The public exploit availability shortens the window before opportunistic attacks become widespread.

Affected systems

GL.iNet GL-MT3000 devices running firmware versions 4.4.5 and earlier are affected. The vulnerability requires an authenticated session, meaning the attacker must possess valid credentials or have compromised an account with access to the web interface or SSH. Firmware version 4.7 and later include the fix.

Exploitability

This vulnerability is actively exploitable. It requires authenticated access (PR:L in the CVSS vector), which means an attacker must have valid credentials or prior network compromise. The public disclosure and available exploit code create a reliable attack path. The low attack complexity (AC:L) and network-based vector (AV:N) mean that once credentials are obtained—through credential stuffing, weak default passwords, or phishing—the exploitation step is straightforward. Organizations should assume that threat actors are testing this vulnerability against their deployed GL-MT3000 instances.

Remediation

The definitive remediation is to upgrade GL-MT3000 firmware to version 4.7 or later. Organizations should prioritize this patch across all affected devices. During the patching window, restrict administrative access to the device management interface (limit IP ranges that can access the web UI or SSH) and monitor for suspicious upgrade requests. Disable remote management features if not actively required.

Patch guidance

Verify your current GL-MT3000 firmware version via the device web interface (System > Firmware) or by SSH access. If running 4.4.5 or earlier, initiate the firmware upgrade to version 4.7 or the latest available release. Test the upgrade in a non-critical device first if possible. GL.iNet's upgrade process is typically available via the web interface under System > Firmware > Check and Install. Ensure stable power and network connectivity during the upgrade to avoid corruption. After patching, verify the new firmware version is in place and confirm device functionality.

Detection guidance

Monitor access logs to /usr/bin/one_click_upgrade for unusual command patterns or non-standard parameters. Watch for failed authentication attempts against the firmware upgrade interface or web admin panel, which may indicate credential attacks. Network-based detection should focus on HTTP/HTTPS POST requests to the firmware upgrade endpoints with suspicious payloads containing shell metacharacters (backticks, pipes, semicolons, $() substitution). Log analysis on affected devices should reveal command execution attempts in system logs. Organizations with Intrusion Detection Systems (IDS) or Web Application Firewalls (WAF) can create rules to flag requests to /usr/bin/one_click_upgrade with command injection signatures.

Why prioritize this

This vulnerability merits immediate prioritization due to the convergence of high CVSS score (8.8), public exploit availability, authenticated-but-common access path, and the criticality of routers as network entry points. GL-MT3000 devices are frequently used in distributed network architectures where compromise can enable lateral movement. The vendor's rapid response and availability of a stable patch version 4.7 means remediation is straightforward and low-risk, making delay unjustifiable.

Risk score, explained

The CVSS 3.1 score of 8.8 (HIGH) reflects: (1) remote, unauthenticated network attack surface (AV:N); (2) low attack complexity due to straightforward command injection patterns (AC:L); (3) requirement for low-privilege credentials (PR:L), which are common in organization deployments; (4) no user interaction needed (UI:N); (5) complete compromise of confidentiality, integrity, and availability (C:H/I:H/A:H). The public disclosure and available exploit code do not change the numerical score but substantially increase practical exploitability. Organizations should treat this as urgent rather than deferred.

Frequently asked questions

Do I need to be authenticated to exploit this vulnerability?

Yes. The CVSS vector indicates PR:L (Privileges Required: Low), meaning the attacker must have valid credentials to the device (e.g., web UI login or SSH access). However, weak default credentials, credential reuse from other breaches, or prior compromise of a user account makes this requirement less stringent in practice. Ensure strong, unique passwords and disable default accounts.

What is the real-world impact if an attacker gains command execution on my GL-MT3000?

An attacker with root-level code execution can fully compromise the router. This enables network interception, DNS hijacking, traffic redirection, VPN credential theft, lateral movement into internal networks, deployment of persistent malware, and denial of service. Routers are valuable targets precisely because they sit at the network perimeter and control traffic flow.

Does the vendor provide automatic firmware updates?

Many GL.iNet devices support automatic or semi-automatic firmware updates via the web interface. Check your device settings under System > Firmware to enable auto-update, or manually trigger an update check. The vendor has been described as responsive and professional, so patched firmware should be reliably available through official channels.

Is this vulnerability in the CISA KEV catalog?

No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog as of the data available. However, public exploit code exists and the vulnerability is actively exploitable. Do not use KEV listing status as a delay factor; prioritize based on your own risk assessment and presence of GL-MT3000 devices in your environment.

This analysis is provided for informational purposes to support security decision-making. The vulnerability details, CVSS score, and affected versions are derived from publicly available sources and vendor advisories. Organizations should verify all patch version numbers and remediation steps against official GL.iNet documentation and advisories. Exploit code and proof-of-concept materials are publicly available; this summary does not provide weaponized exploitation guidance. Testing of patches should be conducted in controlled environments before production deployment. SEC.co makes no warranty regarding the completeness or accuracy of this intelligence and recommends cross-reference with your security vendor, vulnerability management platform, and official vendor communications. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).