CVE-2026-87827 and the botnet supply chain behind cheap DVR hardware
Vulnerability overview
CVE-2026-87827 is a maximum-severity command execution flaw in KGUARD DVR firmware, scored 10.0 under CVSS v4. It was discovered by Netlab 360 while the research team was following botnet infrastructure, and the timing of that discovery says something about how IoT vulnerabilities actually reach attackers. The flaw was not found by a vendor audit or a bug bounty. It was found because criminals were already using it.
Mechanism and exploitation conditions
The vulnerable component is a network service in the firmware that accepts commands and executes them as system calls. It binds to 0.0.0.0, exposing itself on every interface, and it does not authenticate the caller. Netlab 360's advisory describes the service as able to "remotely execute system commands without authentication."
Exploitation therefore requires nothing beyond a reachable TCP port. The attacker connects, sends a request, and receives command execution on the device. The exact port is not published, which raises the effort required to build a working exploit but does not change the underlying weakness. Firmware from 2017 onward binds the service to 127.0.0.1, cutting off remote access.
Impact
The impact is measured in what botnets can do with a fleet of compromised recorders. Mirai_ptea (Rimasuta) and Mirai_aurora both built the exploit into their propagation routines. They used it to install themselves and later to launch distributed denial-of-service attacks. Some RapperBot versions adopted the same technique and were still abusing it in 2026.
For the device owner, the immediate harm is loss of control over the recorder. The longer-term harm is participation in attacks against third parties, often without the owner ever noticing. DVRs sit behind consumer routers, they are rarely monitored, and they are usually replaced rather than repaired, which makes them attractive to botnet operators.
Affected products and scope
The vulnerable firmware dates to 2016. Affected models include D1004NR, D1008NR, D1016NR, D1104, D1108NR, D1116NR, and the D99xx variants. Netlab 360 counted at least 3,000 exposed devices, a number that reflects reachable units rather than total units sold.
Exposure context
A ZoomEye query for app="KGUARD DVR" returned 864,518 matching assets on 2026-09-16. The figure counts devices whose fingerprint matches the product string. It does not prove that any of them are vulnerable, because most may run post-2017 firmware. It does show that a very large population of this hardware is reachable, which is the condition botnets need.
Remediation and mitigations
Update the recorder to firmware released after 2017. If the vendor no longer supplies builds for a given model, remove the device from internet exposure instead. A firewall rule that blocks inbound access to the management port is enough to stop remote exploitation, and network segmentation keeps a compromised recorder away from anything valuable. Outbound traffic monitoring catches the stage where an infected device starts calling home.
References
- CVE-2026-87827 (CVSS 10): KGUARD DVR Fully Compromised, SecurityOnline.info, https://securityonline.info/cve-2026-87827-kguard-dvr-mirai/
- Netlab 360 advisory on the KGUARD DVR command execution flaw, https://blog.netlab.360.com/
- ZoomEye search: app="KGUARD DVR", https://www.zoomeye.ai/searchResult?q=YXBwPSJLR1VBUkQgRFZSIg%3D%3D
Top comments (0)