# CVE-2026-116505: TOTOLINK A950RG command injection in device-information handler

Source: https://junglewise.ai/threats/cve-2026-116505-a-vulnerability-was-found-in-totolink-a950rg-4-1-2cu-5268  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-26. Updated: 2026-10-26  
License: CC BY 4.0 with a link back

CVE-2026-116505 · Severity: critical · CVSS 9.1 · Published 2026-10-26

The TOTOLINK A950RG router's device-information handler contains a command injection vulnerability in its DHCP client component. An attacker with network access can manipulate the MAC address field in the DHCP lease database to execute arbitrary commands as root. This could allow an attacker to take control of the router, intercept traffic, or launch attacks on the network it protects.

Technologies: [TOTOLINK A950rg](https://junglewise.ai/threats/technologies/a950rg). Vendors: [TOTOLINK](https://junglewise.ai/threats/vendors/totolink).

## Quick answers

**Is CVE-2026-116505 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-116505 being exploited in the wild.

**How severe is CVE-2026-116505?** Critical severity, with a CVSS score of 9.1, published 26 October 2026.

**Which products and versions are affected?** TOTOLINK A950rg 4.1.2cu.5268_B20221104.

**Is there a fix for CVE-2026-116505?** 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-116505 attacked?** It is attacked over the network, in device firmware.

**Am I affected by CVE-2026-116505?** 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 second-order command injection (CWE-78) in the getDeviceInfo function of lan.so, which reads MAC addresses from /var/lib/misc/udhcpd.leases and passes them unsanitized to system() within shell command templates. The MAC address is first written to /var/MacPort_state via sprintf without escaping single quotes, then executed via system(). An attacker must first inject a crafted MAC address into the lease database or /var/MacPort_state file (via another vulnerability or component write access) to reach the injection sink; normal DHCP clients cannot inject metacharacters due to protocol constraints, but the latent vulnerability becomes exploitable once another vector exists to write malicious data.

## Affected products

- TOTOLINK A950RG 4.1.2cu.5268_B20221104

## Timeline

- 2026-10-26: disclosed

## References

- [https://gist.github.com/H3rmesk1t/836a8c4be24fcc4b7041b4bbe9cbb178](https://gist.github.com/H3rmesk1t/836a8c4be24fcc4b7041b4bbe9cbb178)
- [https://vuldb.com/cve/CVE-2026-116505](https://vuldb.com/cve/CVE-2026-116505)

## Related threats

- [TOTOLINK A950RG stack buffer overflow in MAC filter handler](https://junglewise.ai/threats/cve-2026-121600-a-flaw-has-been-found-in-totolink-a950rg-4-1-2cu-5268-b20221104)
- [TOTOLINK A950RG stack buffer overflow in WiFi configuration](https://junglewise.ai/threats/cve-2026-121599-a-vulnerability-was-detected-in-totolink-a950rg-4-1-2cu-5268)
- [TOTOLINK A950RG stack buffer overflow in wireless configuration](https://junglewise.ai/threats/cve-2026-121598-a-security-vulnerability-has-been-detected-in-totolink-a950rg-4)
- [TOTOLINK A950RG stack buffer overflow in Easy Setup Wizard](https://junglewise.ai/threats/cve-2026-121597-a-weakness-has-been-identified-in-totolink-a950rg-4-1-2cu-5268)
- [TOTOLINK A950RG stack buffer overflow in infostat.cgi](https://junglewise.ai/threats/cve-2026-116508-a-security-flaw-has-been-discovered-in-totolink-a950rg-4-1-2cu)
