GL.iNet routers and KVMs compromised via GoodCloud vulnerability
Hackers exploited a flaw in GL.iNet's GoodCloud service to install malware on routers and KVM devices. Owners must check for indicators of compromise and update firmware immediately.
GL.iNet confirmed that attackers exploited a vulnerability in its GoodCloud remote management service to install malware on customer routers and KVM hardware. The company patched the cloud-side flaw on Friday, November 21, 2026, but devices already infected remain at risk until owners manually verify their hardware and apply security updates.
What happened
The breach targeted the GoodCloud client software embedded in GL.iNet devices. Attackers leveraged this access to execute commands with root privileges, installing persistent malware on affected units. While GL.iNet has blocked the specific attack vector used, it has not disclosed how many devices were compromised, when the initial intrusion occurred, or the identity of the threat actors. The company is currently emailing customers it identifies as potentially affected, but it advises all owners to take proactive steps rather than waiting for notification.
Security researchers at RemoteToHome Consulting verified the presence of a root-level reverse shell on several managed routers, including the GL-AXT1800 model running firmware version 4.8.3. This shell connected to an external server at 170.39.226[.]219 before the hosting provider suspended the infrastructure following an abuse report. In separate reports, owners of GL-RM1 KVM devices observed their hardware downloading scripts from 66.245.219[.]252 and scanning local networks, suggesting the attack extended beyond simple router compromise to include remote access hardware.
Complicating the incident, investigators discovered an unrelated backdoor on 49 routers within the consultancy’s managed fleet. This older persistence mechanism was installed in batches between September 2025 and May 2026 through an unknown route. Although this finding highlights broader security concerns for the device ecosystem, there is currently no evidence linking these older infections to the recent GoodCloud exploitation.
How it works
The primary vulnerability resides in a handler within the GoodCloud client software. According to technical analysis by RemoteToHome, this component accepts two values from incoming cloud messages and executes them as root via a shell without performing input validation. This unchecked code execution allows attackers to run arbitrary commands on the device. The vulnerable code has been present in firmware since at least December 5, 2024, appearing first in a release for the GL-MT3000. It remains active regardless of whether the AstroWarp SD-WAN feature is enabled.
The malware employed in this campaign is designed to be ephemeral. The reverse shell leaves no files on the disk, and its process traces vanish upon device restart. This behavior makes detection difficult for users who reboot their hardware before investigating. Additionally, the attackers may have swapped system binaries; researchers warned that the netstat command itself might be compromised, meaning running it could trigger the malware rather than reveal network connections. Users are advised to verify that /bin/netstat is still a legitimate link to busybox before using it for diagnostics.
Key details
- Vulnerable component: GoodCloud client software handler that executes unvalidated cloud messages as root.
- Affected hardware: Various GL.iNet routers and KVM devices, including GL-AXT1800, GL-MT6000, and GL-RM1 models.
- Detection marker: A running process containing the text
crond -i /tmp/.log, though this indicator may be absent on some infected devices. - Persistence: The reverse shell is memory-resident and disappears after a reboot, complicating forensic analysis.
- Secondary threat: An unrelated backdoor was found on 49 routers, installed between September 2025 and May 2026 via an unknown method.
- Patch status: Cloud-side fix deployed on November 21, 2026; firmware updates released for all affected models.
Why it matters
This incident underscores the risks inherent in cloud-managed IoT and networking hardware. When a central management service is compromised, it can serve as a distribution channel for malware to thousands of edge devices simultaneously. For engineers and IT leads, this highlights the importance of scrutinizing the trust boundaries between local hardware and cloud controllers. The fact that the vulnerable code existed for nearly two years before exploitation suggests that supply chain and firmware auditing processes need to account for legacy code paths that may seem inactive but remain reachable.
Furthermore, the discrepancy between the vendor’s remediation advice and independent researcher recommendations poses a challenge for secure recovery. GL.iNet states that updating firmware removes the malware without requiring a factory reset, preserving user settings. However, researchers argue that a root-level attacker could have planted scripts in user directories that survive such updates. For high-security environments, treating all stored secrets—such as VPN keys, Wi-Fi passwords, and SSH credentials—as exposed is the only safe assumption, necessitating a full reset and credential rotation.
What you can do
- Check for infection: Log in to your device via SSH or the web panel and search for the process marker
tmp/.logusingps | grep tmp. Perform this check before rebooting, as traces disappear on restart. - Update firmware immediately: Install the minimum fixed version listed for your specific model, such as 4.11.1 for GL-MT3000 or 1.10.3 for RM1 KVMs.
- Verify binary integrity: Before running network diagnostic tools, ensure
/bin/netstatis still a valid link to busybox to avoid triggering compromised binaries. - Rotate credentials: If you suspect compromise, assume all stored secrets are exposed. Change Wi-Fi passwords, admin credentials, VPN keys, and SSH keys after cleaning the device.
- Disable GoodCloud temporarily: If you cannot update immediately, disable the GoodCloud service after securing an alternative access method, though this will not remove existing malware.
- Inspect attached computers: For KVM users, check the connected computer for unfamiliar programs, accounts, or unusual network activity, as the KVM compromise may have spread to the host.



