Security Advisory: Multiple Remote Code Execution and Buffer Overflow Vulnerabilities
17th July 2026
On May 9, several potential security vulnerabilities were identified within the DrayTek VigorSwitch mainfunction.cgi component, including buffer overflow conditions and improper neutralization of special elements used in operating system commands.
Although these conditions have been confirmed to exist in the affected code, there are currently no known or documented methods to trigger or exploit them, and no practical attack path has been identified. Consequently, there is no evidence at this time that the reported issues are exploitable in deployed environments. If a viable exploitation method were identified, it would likely require an attacker to possess valid administrative credentials and be able to authenticate to the switch’s web management interface.
Should a method be identified that allows these conditions to be reached and successfully exploited, they could potentially result in arbitrary code execution on an affected appliance. However, the feasibility of such exploitation has not been demonstrated. Following coordinated disclosure with the Concordia University Security Research Centre (SRC), DrayTek Corp has addressed these findings in updated firmware releases and recommends that customers upgrade to the versions listed below as a preventive security measure.
Vulnerability Details
| CVE Number | Description |
|---|---|
| CVE-2026-52497 | Buffer Overflow and OS Command Injection Flaws |
| CVE-2026-52498 | Buffer Overflow and OS Command Injection Flaws |
| CVE-2026-52499 | OS Command Injection Flaws |
| CVE-2026-52500 | OS Command Injection Flaws |
| CVE-2026-52501 | Buffer Overflow and OS Command Injection Flaws |
| CVE-2026-52502 | Buffer Overflow and OS Command Injection Flaws |
| CVE-2026-52503 | OS Command Injection Flaws |
The firmware updates are released for the following models. No other models are affected. Please click here to download and upgrade the firmware for your specific model as soon as possible to ensure your system remains up to date.
Affected Products and recommended Firmware Versions
| Model | Fixed Firmware Version |
|---|---|
| VigorSwitch Q2300x / PQ2300xb | 2.10.7 |
| VigorSwitch G2282x / P2282x | 2.10.6 |
| VigorSwitch G2542x / P2542x / P2542xh | 3.10.6 |
| VigorSwitch FX2120 / P2540xs / G2540xs | 3.9.10 |
| VigorSwitch G1280 / P1280 | 2.9.10 |
| VigorSwitch P1281x | 2.9.10 |
| VigorSwitch G1282 / P1282 | 2.9.10 |
| VigorSwitch G2100 / P2100 | 2.9.10 |
| VigorSwitch G2121 / P2121 | 2.9.10 |
| VigorSwitch PQ2121x / Q2121x | 2.9.10 |
| VigorSwitch PQ2200xb / Q2200x | 2.9.10 |
| VigorSwitch G2280x / P2280x | 2.9.10 |
| VigorSwitch G2540x / P2540x | 2.9.10 |
Should you need any assistance with the update process or have security-related inquiries, please don't hesitate to contact our Technical Support team.
Any updates regarding this matter will be published on the official DrayTek website. Please refer to the following URL: https://www.draytek.co.uk/support/security-advisories.
We appreciate your prompt attention to this critical security matter and thank you for your continued trust in DrayTek products.
