Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2025-1829: OS Command Injection in TOTOLINK X18 setMtknatCfg

Published Mar 2, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.3Medium · v4
EPSS12.8%96th percentile
CISA KEVNoNot listed
In the wildReported4 exploitation records in Mallory
Vendor
Totolink
IdentifiersCVE-2025-1829CWE-78 · Improper Neutralization of Special…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
TotolinkX18 Firmwareoperating_system
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity5Community discussion across Reddit, Mastodon, and other social sources.