Unauthenticated Command Injection in Prolink PRC2402M mesh.cgi Enables Root RCE
Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Apr 11, 2026

STAR Labs disclosed two unauthenticated command injection flaws in the Prolink PRC2402M router that allow remote attackers to execute arbitrary commands as root via the /cgi-bin/mesh.cgi endpoint. The vulnerabilities, tracked as CVE-2021-35400 and CVE-2021-35407, were verified on firmware version 20190909 and stem from user-controlled input in the key parameter being passed to popen without proper validation. One issue is reachable when page=extender triggers get_extender_page, while the other is exposed when page=upgrade invokes get_upgrade_page.
In both cases, the vulnerable code builds shell commands using router values such as lan_ipaddr together with attacker-supplied input, enabling crafted HTTP GET requests to inject shell syntax and run commands on the device. Prolink was notified of the bugs on June 10, initially said a patch was available the same day, then received a bypass report on June 11 before issuing a final fix on June 13. The disclosures indicate that internet-exposed devices running the affected firmware could be compromised without authentication through the router's web interface.


