← Home

GL.iNet: Cloud management flaw allows malware infection of routers and KVM devices

GL.iNet: cloud management flaw allows malware infection of routers and KVM devices

Chinese networking equipment manufacturer GL.iNet has confirmed that threat actors exploited a vulnerability in its cloud-based remote management services to install custom malware on customer routers and KVM (keyboard, video, multiplexer) devices. The incident, identified on November 20, 2026, raises serious questions about the security of IoT devices connected to cloud services — particularly those offering full remote control of computers.

What happened

According to a security notice published by GL.iNet itself on November 20, an unauthorized party exploited a flaw in the company's cloud remote management service — known as GoodCloud — to access and install malicious software on a subset of GL.iNet devices, including routers and KVM devices. The company states it has fixed the vulnerability in its cloud and blocked the attack vector used, but emphasized that the fix does not remove malware already installed on affected devices.

GL.iNet's notice does not specify how many devices were compromised, when the attacks began, or what data was ultimately exfiltrated. The company is investigating whether computers connected to infected KVM devices were also targeted.

Symptoms on affected devices include malicious processes running as `crond -i /tmp/.log`, root-level backdoors, and reverse shells connecting to an external server — identified by researchers as IP address 170.39.226.219. These reverse shells use Linux's `nc` (netcat) utility to establish outbound connections, allowing attackers to execute arbitrary commands on compromised devices.

The scale of the problem

GL.iNet has not disclosed the number of devices infected, but the security community began independently mapping the impact. Researchers at RemoteToHome, who administer 183 GL.iNet routers, reported suspicious activity on 152 of them — about 83% of their sample. Of those, 24 had administrator-level remote shells, 47 contained an older persistent backdoor, and 81 showed evidence that attacker-supplied commands had been successfully executed.

The investigators also identified a potential command injection flaw in the GoodCloud client, involving a handler used for AstroWarp/SD-WAN functionality. According to the group, the handler passes cloud-supplied values directly into shell commands executed with root privileges, without proper validation. GL.iNet has not yet confirmed whether this specific vulnerability was used in the attacks.

The response and recommendations

Following the discovery, GL.iNet released beta firmware versions for its Comet KVMs and published detailed verification instructions. Users are directed to open the device's web console, access the Toolbox → Terminal → Access tab, and run commands to search for the malicious process. For KVM devices, the recommended command is `ps -a | grep tmp` or `ps -aux | grep tmp`, depending on the model. For routers, the check uses `ps | grep tmp`.

If the `crond -i /tmp/.log` process is found, the company recommends a factory reset or immediate installation of the security beta firmware. For infected KVM devices, GL.iNet also asks users to check the connected computer for unusual programs, browser extensions, unrecognized user accounts, unexpected scheduled tasks, and suspicious network activity.

The security community has not reached consensus on the effectiveness of GL.iNet's instructions. Some forum members warned that the detection steps may not identify all malware variants, including those using backdoors different from or reverse shells not detected by the official checker. A community-developed scanner, available as an open-source project, performs additional checks for known malicious files, suspicious processes, modified system utilities, and configuration files altered for persistence.

The context: why this matters

The GL.iNet case illustrates a growing pattern of IoT attacks that exploit not the hardware or local firmware, but rather the vulnerability of the cloud service that manages it. Home routers and KVMs are particularly sensitive to this type of attack. A KVM — which physically sits between the user and the computer — allows full control of the keyboard, video, and system access. Whoever controls a compromised KVM can see everything happening on the connected computer, type commands, and access any data.

This is not GL.iNet's first security issue in 2026. In April, the company published an advisory about flaws discovered by the Eclypsium group, including one that allowed a man-in-the-middle attacker or a compromised update server to swap the firmware and its MD5 hash and still pass the integrity check. The recurrence of security problems in affordable IoT hardware products raises questions about industry maturity and the need for more rigorous security standards in the development lifecycle.

The question that remains: as the boundary between local hardware and cloud dissolves — with home routers offering remote management, KVMs accessible via the internet, and IoT devices increasingly dependent on cloud services — how prepared are we to protect the infrastructure that controls our machines? The GL.iNet case suggests the answer has not yet been found.

Sources: BleepingComputer, PrivacyAffairs, GL.iNet

✓ Independent sources cross-checked and verified before publishing