CVE-2020-15415: Remote Command Execution in DrayTek Vigor cgi-bin/mainfunction.cgi/cvmcfgupload
- Vendor
- Draytek
CVE-2020-15415 is a remote command execution vulnerability affecting DrayTek Vigor3900, Vigor2960, and Vigor300B devices before version 1.5.1. The flaw is in the cgi-bin/mainfunction.cgi/cvmcfgupload functionality, which improperly handles a supplied filename parameter. When a request uses the text/x-python-script content type, shell metacharacters embedded in the filename are not safely neutralized before being passed to a shell or shell-interpreted command context, allowing arbitrary command execution on the device. This is a distinct issue from CVE-2020-14472.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A remote attacker can execute arbitrary commands on the affected DrayTek device. Depending on the privileges of the vulnerable CGI component, this can result in full compromise of the appliance, including unauthorized administrative control, modification of device configuration, installation of persistent backdoors, interception or redirection of network traffic, and use of the device as a pivot point into adjacent networks.
Mitigation
If you can’t patch tonight, do this now.
Until patching is completed, restrict access to the management interface and the vulnerable CGI endpoint to trusted administrative networks only, disable or firewall Internet exposure of the device management plane, and monitor for suspicious requests involving cgi-bin/mainfunction.cgi/cvmcfgupload, especially those using the text/x-python-script content type or filenames containing shell metacharacters. Where possible, place administrative access behind VPN or source-IP allowlisting.
Remediation
Patch, then assume compromise.
Upgrade affected DrayTek Vigor3900, Vigor2960, and Vigor300B devices to version 1.5.1 or later, which addresses the vulnerable command-handling behavior in cgi-bin/mainfunction.cgi/cvmcfgupload. If vendor-fixed releases are available beyond 1.5.1, deploy the latest supported firmware.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
Frequently asked questions
- Is CVE-2020-15415 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 30, 2024.
- Is there a public exploit for CVE-2020-15415?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2020-15415.
- Is there a patch for CVE-2020-15415?
- Upgrade affected DrayTek Vigor3900, Vigor2960, and Vigor300B devices to version 1.5.1 or later, which addresses the vulnerable command-handling behavior in cgi-bin/mainfunction.cgi/cvmcfgupload. If vendor-fixed releases are available beyond 1.5.1, deploy the latest supported firmware.
- What products are affected by CVE-2020-15415?
- Draytek Vigor2960 Firmware, Draytek Vigor300b Firmware, and Draytek Vigor3900 Firmware.
- How severe is CVE-2020-15415?
- CVE-2020-15415 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 84.5% (100th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.