Skip to content
English

Patch first › DrayTek

Exploited

CVE-2024-12987

DrayTek Vigor (routers) · Home and small-office routers, cameras and IoT

DrayTek Vigor Routers OS Command Injection Vulnerability

At a glance

Exploited. Added to CISA’s catalog of exploited vulnerabilities on May 15, 2025.

Affected product: DrayTek Vigor (routers) (category Home and small-office routers, cameras and IoT, indicative classification). Name in CISA’s catalog: DrayTek Vigor Routers.

What should I do?

Apply the patches or mitigations from DrayTek; if none are available, stop using the product. For cloud services, follow the guidance from DrayTek.

Deadline set by CISA for US federal agencies: 21 days (due June 5, 2025). It only binds those agencies, but it is a useful measure of urgency.

Original text of the required action (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.

Timeline

  1. Vulnerability published Publication date (NVD)
  2. Exploitation confirmed Added to CISA’s KEV catalog
  3. CISA deadline Remediation deadline set for US federal agencies

The facts, with their sources

Exploitation confirmed
Yes, on May 15, 2025 Date added to the catalog of exploited vulnerabilities. Exploitation itself may have started earlier. Source: KEV catalog, collected September 29, 2026 at 14:57 UTC
Ransomware
No known use to date That does not guarantee it is not being used: the information is not public. Source: KEV catalog, collected September 29, 2026 at 14:57 UTC
Hunt for compromise
Not requested by CISA Source: KEV catalog, collected September 29, 2026 at 14:57 UTC
CISA required action
Apply the patches or mitigations from DrayTek; if none are available, stop using the product. For cloud services, follow the guidance from DrayTek. Rewritten by this site from CISA’s original text. Source: KEV catalog, collected September 29, 2026 at 14:57 UTC
CISA deadline
June 5, 2025, 21 days Set for US federal agencies: a measure of urgency, not an obligation elsewhere. Source: KEV catalog, collected September 29, 2026 at 14:57 UTC
Vulnerability published
December 27, 2024 Source: National Vulnerability Database (NVD), collected September 29, 2026 at 15:00 UTC
Product according to CISA
DrayTek Vigor Routers Filed by this site under “Home and small-office routers, cameras and IoT” (indicative classification). Source: KEV catalog, collected September 29, 2026 at 14:57 UTC
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Technical detail of the score: attack vector, complexity, impact. Source: National Vulnerability Database (NVD), collected September 29, 2026 at 15:00 UTC

Severity and activity

9.8 / 10 CVSS severity: critical

Score from the NVD. Collected Sep 29, 2026.

— Probability of exploitation in the next 30 days (EPSS)

FIRST’s EPSS model. Since exploitation is already confirmed, this figure is mostly useful to compare activity. Collected Sep 29, 2026.

Description

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.

Official description from the NVD, collected Sep 29, 2026. CVE® description © The MITRE Corporation.

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 from CISA (KEV catalog).

CERT-FR advisories

No advisory among the latest CERT-FR publications this site follows. That does not mean there are none.

Information reused under the Open Licence 2.0 (Etalab); the date of last update is shown for each advisory. This site is neither affiliated with nor endorsed by ANSSI.

Sources for this page

  • CISA KEV catalog: exploitation, date added, required action, deadline, ransomware.
  • NVD (NIST): CVSS severity, publication date, description, vendor references.
  • EPSS (FIRST): probability of exploitation.
  • CERT-FR: advisories and alerts (in French).
  • Brand and category: indicative classification by this site (method).