Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
HighPublic exploit

OS Command Injection in Totolink A7100RU setUPnPCfg

IdentifiersCVE-2026-5851CWE-78· Improper Neutralization of Special…

CVE-2026-5851 is a remote OS command injection vulnerability affecting Totolink A7100RU firmware version 7.4cu.2313_b20191024. The flaw is present in the setUPnPCfg function exposed through /cgi-bin/cstecgi.cgi in the device's CGI Handler. According to the provided content, manipulation of the enable argument is not properly sanitized before being used in a system-level command context, allowing attacker-controlled input to trigger command execution on the underlying operating system.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can allow a remote attacker to execute arbitrary OS commands on the affected router. Given the provided CVSS assessments (C:H/I:H/A:H), impact can include full compromise of device confidentiality, integrity, and availability, including unauthorized configuration changes, disruption of routing or network services, and potential use of the device as a foothold for further network activity. Public exploit availability increases the likelihood of opportunistic exploitation.

Mitigation

If you can’t patch tonight, do this now.

Restrict network access to the router's administrative/CGI interface so /cgi-bin/cstecgi.cgi is not reachable from untrusted networks, especially the Internet. Disable remote administration if not required, place management access behind trusted internal networks only, and use firewall or ACL controls to limit access to authorized hosts. Monitor for suspicious requests targeting setUPnPCfg or the enable parameter, and consider disabling UPnP-related management exposure where operationally feasible until a fixed firmware release is applied.

Remediation

Patch, then assume compromise.

Upgrade to a vendor-fixed firmware version if one is available from Totolink. Because the issue is tied to improper handling of the enable parameter in setUPnPCfg within /cgi-bin/cstecgi.cgi, remediation should include vendor code changes that eliminate shell invocation with unsanitized input, implement strict server-side input validation, and use safe APIs that avoid command-shell interpretation. If no patched firmware is available, the information currently available does not provide a vendor-specified fix version.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

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
TotolinkA7100ru Firmwareoperating_system

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

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, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity5

Community discussion across Reddit, Mastodon, and other social sources.