CVE-2020-8515 is an unauthenticated OS command injection (CWE-78) in the web management interface of DrayTek Vigor2960, Vigor3900 and Vigor300B routers: shell metacharacters sent to cgi-bin/mainfunction.cgi run as root. NVD scores it 9.8 and CISA KEV lists it. DrayTek's fix is firmware 1.5.1 or later.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
100.0%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2020-8515 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| DrayTek Vigor2960 load-balancing VPN router | cpe:2.3:h:draytek:vigor2960:-:*:*:*:*:*:*:* | NVD lists the 1.3.1 pre-release build; DrayTek: upgrade to 1.5.1 or later (latest in DrayTek's firmware folder: 1.5.1.9 as of 2026-11-24) |
| DrayTek Vigor3900 load-balancing VPN router | cpe:2.3:h:draytek:vigor3900:-:*:*:*:*:*:*:* | NVD lists the 1.4.4 pre-release build; DrayTek: upgrade to 1.5.1 or later (latest: 1.5.1.9 as of 2026-11-24) |
| DrayTek Vigor300B load-balancing router | cpe:2.3:h:draytek:vigor300b:-:*:*:*:*:*:*:* | NVD lists the 1.3.3, 1.4.2.1 and 1.4.4 pre-release builds; DrayTek: upgrade to 1.5.1 or later (latest: 1.5.1.9 as of 2026-11-24) |
What does this mean for affected devices?
NVD describes remote code execution as root, without authentication, "via shell metacharacters to the cgi-bin/mainfunction.cgi URI" on pre-release builds of the DrayTek Vigor2960 (1.3.1), Vigor3900 (1.4.4) and Vigor300B (1.3.3, 1.4.2.1 and 1.4.4), and adds: "This issue has been fixed in Vigor3900/2960/300B v1.5.1." NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and NVD CVSS v2 10.0; CISA ADP gives the same 9.8. Both classify it as CWE-78. MITRE is the CNA and the record was published on 2020-02-01 (NVD, CVE record).
Which DrayTek devices are affected and which firmware fixes it?
The Vigor2960, Vigor3900 and Vigor300B are DrayTek's load-balancing and VPN gateway routers. DrayTek UK's advisory rates the issue Critical for all three models and says DrayTek released updated firmware on 6 February 2020; the required action is to "upgrade to 1.5.1 firmware or later as soon as possible" (DrayTek UK advisory, Feb 2020). The Vigor2960 1.5.1 release note is marked "Release Type: Critical" and lists "Improved the WebGUI security" (DrayTek Vigor2960 1.5.1 release note). As of 2026-11-24 DrayTek's firmware folders for all three models list 1.5.1.9 as the latest build, so the series still receives updates; later fixes for the same CGI, such as CVE-2020-15415 (1.5.1.1) and CVE-2024-12987 (1.5.1.5), mean 1.5.1 alone is not enough today.
Is CVE-2020-8515 exploited?
Yes. DrayTek's advisory was updated to say that proof-of-concept code had been published and that in-the-wild attempts were using the issue. CISA added CVE-2020-8515 to the KEV catalog on 2021-11-03 with the required action "Apply updates per vendor instructions." (due date 2022-05-03; known ransomware campaign use: Unknown); it is still listed as of 2026-11-24 in catalog version 2026.11.23 (CISA KEV). FIRST EPSS gives 0.99993, the 99.987th percentile, in the 2026-11-23 dataset (FIRST EPSS).
What should you do?
Install the latest firmware for the model, then follow DrayTek's post-upgrade checks: confirm that no VPN dial-in, teleworker or LAN-to-LAN profiles or admin users were added and that the access control lists were not changed. If you cannot upgrade at once, DrayTek's interim advice is to disable remote management or limit it with an ACL, or to manage the router only over VPN. Keeping management interfaces off the internet is the subject of our CISA BOD 23-02 guide, and the coding fix for this class is in how to fix command injection in embedded firmware.
Evidence
- Unauthenticated root command execution via shell metacharacters to cgi-bin/mainfunction.cgi on Vigor2960/3900/300B pre-release builds; fixed in 1.5.1; NVD Primary CVSS v3.1 9.8, CWE-78. — NVD
- DrayTek released fixed firmware on 6 February 2020; users should upgrade to 1.5.1 or later; PoC published and in-the-wild attempts reported. — DrayTek UK
- Vigor2960 1.5.1 is a Critical release that improves WebGUI security. — DrayTek firmware release note
- In CISA KEV since 2021-11-03, due 2022-05-03, ransomware use Unknown; listed in catalog 2026.11.23. — CISA KEV
- EPSS 0.99993 (99.987th percentile) in the 2026-11-23 dataset. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which firmware fixes CVE-2020-8515?
DrayTek's fix is firmware 1.5.1, released on 6 February 2020 for the Vigor2960, Vigor3900 and Vigor300B; DrayTek's advice is 1.5.1 or later. Later builds fix further bugs in the same web interface, and 1.5.1.9 is the latest build in DrayTek's firmware folders as of 2026-11-24 (per DrayTek UK and DrayTek's release notes).
Does CVE-2020-8515 need a login?
No. NVD describes remote code execution as root without authentication through shell metacharacters sent to cgi-bin/mainfunction.cgi, and scores it CVSS v3.1 9.8 with no privileges or user interaction required (per NVD).
Is CVE-2020-8515 exploited in the wild?
Yes. DrayTek noted published proof-of-concept code and in-the-wild attempts. CISA added it to KEV on 2021-11-03 and it is listed in catalog version 2026.11.23; FIRST EPSS gives 0.99993 in the 2026-11-23 dataset (per DrayTek UK, CISA KEV and FIRST EPSS).
What should I check after upgrading a Vigor router?
DrayTek asks owners to confirm that no VPN dial-in, teleworker or LAN-to-LAN profiles or admin users were added, that the ACLs were not altered, and that the web interface shows the new firmware version (per DrayTek UK's February 2020 advisory).
Questions about this page?