CVE-2020-15415: DrayTek Multiple Vigor Routers OS Command Injection Vulnerability
CVE-2020-15415 is a critical-severity flaw (CVSS 9.8) affecting vigor3900 firmware, vigor2960 firmware, vigor300b firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
On DrayTek Vigor3900, Vigor2960, and Vigor300B devices before 1.5.1, cgi-bin/mainfunction.cgi/cvmcfgupload allows remote command execution via shell metacharacters in a filename when the text/x-python-script content type is used, a different issue than CVE-2020-14472.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 84.5% (top 1%) |
| CISA exploited list | Yes, fix due 2024-10-21 |
| Weakness | CWE-78 |
| Published | 2020-06-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: github.com/CLP-team/Vigor-Commond-Injection
- Nuclei scan template: DrayTek Vigor - Command Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-15415?
vigor3900 firmware: upgrade to 1.5.1; vigor2960 firmware: upgrade to 1.5.1; vigor300b firmware: upgrade to 1.5.1. Exact commands for each OS are on this page.
Is CVE-2020-15415 being exploited?
Yes. CVE-2020-15415 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2020-15415 affect?
CVE-2020-15415 affects vigor3900 firmware, vigor2960 firmware, vigor300b firmware. Severity is critical (CVSS 9.8). On DrayTek Vigor3900, Vigor2960, and Vigor300B devices before 1.5.1, cgi-bin/mainfunction.cgi/cvmcfgupload allows remote command execution via shell metacharacters in a filename when the text/x-python-script content type is used, a differen
How urgent is CVE-2020-15415?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-51304 HIGH 8.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr
- CVE-2024-51301 HIGH 8.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr
- CVE-2024-51300 HIGH 8.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr
- CVE-2024-51299 HIGH 8.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr
- CVE-2024-51298 CRITICAL 9.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr