Home / DrayTek / Vigor2960 / CVE-2024-12986
CVE-2024-12986: is it exploited, and which versions of DrayTek Vigor2960 are affected and fixed?
CVE-2024-12986 is an OS command injection vulnerability in DrayTek Vigor2960. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: Vigor2960 1.5.1.3, Vigor2960 1.5.1.4, Vigor300B 1.5.1.3 and 1 more (CVE record by VulDB). Fixed in 1.5.1.5 (NVD). Severity: Medium (6.9, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:24 UTC.
What is CVE-2024-12986?
DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupptim os command injection
A vulnerability, which was classified as critical, has been found in DrayTek Vigor2960 and Vigor300B 1.5.1.3/1.5.1.4. This issue affects some unknown processing of the file /cgi-bin/mainfunction.cgi/apmcfgupptim of the component Web Management Interface. The manipulation of the argument session leads to os command injection. The attack may be initiated 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.
From the CVE record by VulDB, last updated May 16, 2025, 18:37 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| DrayTek | Vigor2960 | 1.5.1.3 1.5.1.4 | |
| DrayTek | Vigor300B | 1.5.1.3 1.5.1.4 |
As the CVE record by VulDB states it, last updated May 16, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| draytek | vigor300b firmware | from 1.5.1.3 before 1.5.1.5 | operating system |
| draytek | vigor2960 firmware | from 1.5.1.3 before 1.5.1.5 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:00 UTC.
How severe is CVE-2024-12986?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N | VulDB |
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | VulDB |
| High 7.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | VulDB |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | VulDB |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-12986 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, December 30, 2024)
- EPSS
- 35.5% probability of exploitation activity in the next 30 days, percentile 98.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-77 Improper Neutralization of Special Elements used in a Command
Where are the vendor advisories and references?
- VDB-289379 | DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupptim os command injection vdb-entry, technical-description
- VDB-289379 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #468794 | DrayTek Vigor2960, Vigor300B Software Version: 1.5.1.3, 1.5.1.4 Command Injection third-party-advisory
- https://netsecfish.notion.site/Command-Injection-in-apmcfgupptim-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c80b9ad8cc37b93273bf6?pvs=4 exploit
Who found and reported it?
- netsecfish (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- December 27, 2024
- Published
- December 27, 2024, 15:31 UTC
- CVE record updated
- May 16, 2025, 18:37 UTC by VulDB
- NVD
- Analyzed, last modified June 17, 2026, 07:00 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Vigor2960?
- Dec 27, 2024CVE-2024-12987 DrayTek Vigor2960: OS command injection exploited
- Nov 18, 2026CVE-2026-132143 DrayTek Vigor2960: stack buffer overflow
- Nov 18, 2026CVE-2026-132142 DrayTek Vigor2960: stack buffer overflow
- Nov 18, 2026CVE-2026-132141 DrayTek Vigor2960: stack buffer overflow
- Nov 18, 2026CVE-2026-132140 DrayTek Vigor2960: NULL pointer dereference (crash)
- Nov 18, 2026CVE-2026-132139 DrayTek Vigor2960: stack buffer overflow
- Nov 15, 2026CVE-2026-129453 DrayTek Vigor2960: heap buffer overflow
- Nov 15, 2026CVE-2026-129452 DrayTek Vigor2960: command injection
Questions about CVE-2024-12986
Is CVE-2024-12986 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 35.5% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of DrayTek Vigor2960 are affected by CVE-2024-12986?
Vigor2960 1.5.1.3, Vigor2960 1.5.1.4, Vigor300B 1.5.1.3 and Vigor300B 1.5.1.4, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2024-12986?
1.5.1.5, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-12986?
Medium (6.9, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2024-12986?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.