CVEBrief

Home / DrayTek / Vigor2960 / CVE-2024-12987

CVE-2024-12987: is it exploited, and which versions of DrayTek Vigor2960 are affected and fixed?

CVE-2024-12987 is an OS command injection vulnerability in DrayTek Vigor2960, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on May 15, 2025, with a federal due date of June 5, 2025. Affected: Vigor2960 1.5.1.4 and Vigor300B 1.5.1.4 (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.9, CVSS 4.0, from VulDB).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:24 UTC.

Exploited in the wild
Yes, CISA KEV
added May 15, 2025, due June 5, 2025
Affected
Vigor2960 1.5.1.4 and Vigor300B 1.5.1.4
CVE record by VulDB
Fixed in
Not listed
check the vendor advisory
Severity
Medium 6.9
CVSS 4.0 from VulDB
Exploit odds (EPSS)
98.2% in 30 days
higher than 100% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2024-12987?

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.

From the CVE record by VulDB, last updated October 21, 2025, 22:55 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
DrayTekVigor29601.5.1.4
DrayTekVigor300B1.5.1.4

As the CVE record by VulDB states it, last updated October 21, 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?

VendorProductVersionsType
draytekvigor300b firmware1.5.1.4operating system
draytekvigor2960 firmware1.5.1.4operating system

NVD analysis (status Analyzed), last modified June 17, 2026, 07:00 UTC.

How severe is CVE-2024-12987?

ScoreVersionVectorSource
Medium 6.9CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NVulDB
High 7.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LVulDB
High 7.3CVSS 3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LVulDB
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PVulDB
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD

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-12987 exploited in the wild?

CISA KEV
Listed as DrayTek Vigor Routers OS Command Injection Vulnerability, added May 15, 2025; federal agencies must act by June 5, 2025
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Ransomware use
Unknown
CISA's summary
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.
CISA SSVC
Exploitation: active; automatable: yes; technical impact: total (CISA ADP, May 17, 2025)
EPSS
98.2% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

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, 16:00 UTC
CVE record updated
October 21, 2025, 22:55 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, 15:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect Vigor2960?

Every CVE in Vigor2960

Questions about CVE-2024-12987

Is CVE-2024-12987 exploited in the wild?

Yes. CISA added CVE-2024-12987 to its Known Exploited Vulnerabilities catalog on May 15, 2025 and set federal agencies a due date of June 5, 2025. FIRST's EPSS gives it a 98.2% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of DrayTek Vigor2960 are affected by CVE-2024-12987?

Vigor2960 1.5.1.4 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-12987?

None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.

How severe is CVE-2024-12987?

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-12987?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.