CVE-2026-116504: TOTOLINK A950RG command injection in cloud upgrade

CVE-2026-116504 · Severity: critical · CVSS 9.9 · Published 2026-10-26

The TOTOLINK A950RG router's cloud upgrade feature contains a command injection vulnerability that allows an authenticated attacker to execute arbitrary commands with root privileges on the device. An attacker can manipulate the firmware file name parameter to inject shell commands that run on the router, potentially leading to complete device compromise, data theft, or network access. The vulnerability affects firmware version 4.1.2cu.5268_B20221104 and earlier.

Technologies: TOTOLINK A950rg. Vendors: TOTOLINK.

Quick answers

Is CVE-2026-116504 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-116504 being exploited in the wild.
How severe is CVE-2026-116504?
Critical severity, with a CVSS score of 9.9, published 26 October 2026.
Which products and versions are affected?
TOTOLINK A950rg 4.1.2cu.5268_B20221104 and earlier.
Is there a fix for CVE-2026-116504?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-116504 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-116504?
Check whether you run TOTOLINK A950rg at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a command injection flaw (CWE-78) in the setCloudUpgradeFW function within lib/cste_modules/upgrade.so that uses strcpy to copy an unsanitized FileName parameter into a 256-byte stack buffer, then passes it to a sprintf call that builds a shell command executed via CsteSystem. The flaw is reached via the CloudACMunualUpdate handler on the POST /cgi-bin/cstecgi.cgi endpoint with the "setting/CloudACMunualUpdate" topic; an attacker needs to provide a non-existent or undersized file name to trigger the vulnerable code path. A second-order injection in the dl function also exists where cloud server responses can inject commands into wget execution.

Affected products

  • TOTOLINK A950RG 4.1.2cu.5268_B20221104 and earlier

Timeline

  • 2026-10-10: disclosed
  • 2026-10-26: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.