CVE-2025-1829: OS Command Injection in TOTOLINK X18 setMtknatCfg
- Vendor
- Totolink
CVE-2025-1829 is a critical OS command injection vulnerability in TOTOLINK X18 firmware version 9.1.0cu.2024_B20220329. The flaw affects the setMtknatCfg function exposed through /cgi-bin/cstecgi.cgi. According to the provided content, improper handling of the mtkhnatEnable argument allows attacker-controlled input to be incorporated into an operating system command, resulting in command injection. The vulnerability is remotely exploitable, and public exploit disclosure is available. The vendor reportedly did not respond to early disclosure attempts.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote attacker to execute arbitrary operating system commands on the affected device. Given the affected component is a router management CGI endpoint, this can plausibly result in full compromise of the device, including unauthorized configuration changes, malware or botnet deployment, persistence, traffic manipulation, and use of the device as a pivot or botnet node. The provided content also indicates the flaw is being targeted by the RondoDox botnet.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the router management interface and /cgi-bin/cstecgi.cgi from untrusted networks, especially the public internet. Place affected devices behind trusted management networks or VPN-only administrative access. Apply network segmentation to isolate IoT and edge devices, disable remote administration if not required, enforce strong unique administrative credentials, and continuously monitor for signs of compromise. If patching is unavailable, remove internet exposure or decommission the device.
Remediation
Patch, then assume compromise.
Upgrade TOTOLINK X18 to a vendor-fixed firmware version if one becomes available. If no patched release is available, replace the affected device with supported hardware. Review vendor advisories and firmware release notes for a fix specific to CVE-2025-1829. Because public exploit code exists and the vendor reportedly did not respond, organizations should prioritize asset identification and removal or replacement of exposed vulnerable devices.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-1829 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-1829?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2025-1829.
- Is there a patch for CVE-2025-1829?
- Upgrade TOTOLINK X18 to a vendor-fixed firmware version if one becomes available. If no patched release is available, replace the affected device with supported hardware.
- What products are affected by CVE-2025-1829?
- Totolink X18 Firmware.
- How severe is CVE-2025-1829?
- CVE-2025-1829 has a CVSS v4 score of 5.3 (Medium) and an EPSS score of 12.8% (96th percentile) as of Oct 16, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.