CVE-2024-12987: DrayTek Vigor Routers OS Command Injection Vulnerability
- Is it exploited?
Yes. CISA added it to the Known Exploited Vulnerabilities catalog on 15 May 2025, 139 days after the CVE record was published.
- How likely is exploitation in the next 30 days?
- 98.2%
EPSS score, percentile 99.9 of all scored records
- How severe?
- 6.9 Medium
CVSS v4.0 base score, given by the CNA
- What should I do?
Required action (CISA), due 5 Jun 2025: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
The CVE record links no vendor advisory, patch or mitigation.
- Which versions are affected?
Affected: 1.5.1.4; 1.5.1.4
Source: CISA Known Exploited Vulnerabilities (KEV) catalog, 2026.10.28, as of 28 Oct 2026; FIRST Exploit Prediction Scoring System (EPSS), v2026.06.15, as of 28 Oct 2026; CVE List V5 (CVE Program), cve_2026-10-28_0000Z, as of 28 Oct 2026. About the data.
What to do
Required action, set by CISA
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CISA due date for this action: 5 June 2025.
Advisories and patches
The CVE record links no vendor advisory, patch or mitigation.
Linked from CISA's catalog entry
- https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdf
- https://fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5_01release-note.pdf
- https://fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5_01release-note.pdf
- https://nvd.nist.gov/vuln/detail/CVE-2024-12987
Affected products and versions
As listed in the CVE record.
| Status | Versions |
|---|---|
| Affected | 1.5.1.4 |
| Status | Versions |
|---|---|
| Affected | 1.5.1.4 |
Source: CVE List V5 (CVE Program), cve_2026-10-28_0000Z, as of 28 Oct 2026. About the data.
About this vulnerability
DrayTek Vigor2960, Vigor300B, and Vigor3900 routers contain an OS command injection vulnerability due to an unknown function of the file /cgi-bin/mainfunction.cgi/apmcfgupload of the component web management interface.
Summary: CISA's KEV catalog, as of 28 Oct 2026.
- CISA added CVE-2024-12987 to its Known Exploited Vulnerabilities (KEV) catalog on 15 May 2025.
- CISA's ransomware flag for this entry is "Unknown": no evidence of ransomware use in the catalog, which is not proof of none.
- The due date CISA sets for the required action is 5 Jun 2025.
- The CVE record was published on 27 Dec 2024, 139 days before it was added to KEV.
- The CVE record carries a CVSS v4.0 base score of 6.9 (Medium), given by its CNA.
- FIRST's EPSS model puts the probability of exploitation in the next 30 days at 98.2% (percentile 99.9), as of 28 Oct 2026.
- CISA's SSVC assessment in the CVE record: exploitation active, automatable yes, technical impact total.
Source: CISA Known Exploited Vulnerabilities (KEV) catalog, 2026.10.28, as of 28 Oct 2026; CVE List V5 (CVE Program), cve_2026-10-28_0000Z, as of 28 Oct 2026; FIRST Exploit Prediction Scoring System (EPSS), v2026.06.15, as of 28 Oct 2026. About the data.
Description
DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection
A vulnerability, which was classified as critical, was found in DrayTek Vigor2960 and Vigor300B 1.5.1.4. Affected is an unknown function of the file /cgi-bin/mainfunction.cgi/apmcfgupload of the component Web Management Interface. The manipulation of the argument session leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.5.1.5 is able to address this issue. It is recommended to upgrade the affected component.
Source: CVE List V5 (CVE Program), cve_2026-10-28_0000Z, as of 28 Oct 2026. About the data.
Weakness
CWE and CAPEC are maintained by MITRE; the entries are those named in the CVE record and the KEV entry.
Timeline
| Date | Event |
|---|---|
| 27 Dec 2024 | CVE record published |
| 15 May 2025 | Added to CISA KEV |
| 5 Jun 2025 | CISA due date for the required action |
| 21 Oct 2025 | CVE record last updated |
References
- Submit #468795 | DrayTek Vigor2960, Vigor300B 1.5.1.4 Command Injection
- VDB-289380 | DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection
- netsecfish.notion.site
- VDB-289380 | CTI Indicators (IOB, IOC, TTP, IOA)
More exploited DrayTek vulnerabilities
- CVE-2020-15415: DrayTek Multiple Vigor Routers OS Command Injection Vulnerability
- CVE-2021-20123: Draytek VigorConnect Path Traversal Vulnerability
- CVE-2021-20124: Draytek VigorConnect Path Traversal Vulnerability
- CVE-2020-8515: Multiple DrayTek Vigor Routers Web Management Page Vulnerability