CVE-2022-25082: Command Injection in TOTOLink A950RG Main Function
- Vendor
- Totolink
A command injection vulnerability exists in TOTOLink A950RG firmware versions V5.9c.4050_B20190424 and V4.1.2cu.5204_B20210112, specifically in the 'Main' function. The vulnerability allows remote attackers to execute arbitrary OS commands via the QUERY_STRING parameter, due to insufficient sanitization of user-supplied input before it is passed to a system shell.
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 remote attackers to execute arbitrary commands on the device with the privileges of the web server process, potentially leading to full device compromise, persistent access, and the device's inclusion in botnets. This vulnerability is known to be exploited in the wild, often for initial access to routers and IoT devices, and is associated with botnet activity.
Mitigation
If you can’t patch tonight, do this now.
Restrict network access to the device's management interface, use strong authentication, and monitor for signs of compromise. Employ network segmentation to limit exposure and consider disabling remote management features if not required.
Remediation
Patch, then assume compromise.
Upgrade the TOTOLink A950RG firmware to a version that addresses this vulnerability. If no patched firmware is available, contact the vendor for support or consider replacing the device with a supported model.
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.
Frequently asked questions
- Is CVE-2022-25082 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-2022-25082?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2022-25082.
- Is there a patch for CVE-2022-25082?
- Upgrade the TOTOLink A950RG firmware to a version that addresses this vulnerability. If no patched firmware is available, contact the vendor for support or consider replacing the device with a supported model.
- What products are affected by CVE-2022-25082?
- Totolink A950rg Firmware.
- How severe is CVE-2022-25082?
- CVE-2022-25082 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 13.7% (97th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.