CVE-2024-12987DrayTek Vigor Routers OS Command Injection Vulnerability
Overview
CVE-2024-12987 is a security vulnerability affecting DrayTek Vigor Routers (DrayTek Vigor Routers OS Command Injection Vulnerability). It appears in the CISA Known Exploited Vulnerabilities catalog, added on 2025-05-15, which means it has been confirmed exploited in real-world attacks — not a theoretical risk.
Risk & exploitation
EPSS (exploit prediction) score: 98.1% — Critical likelihood of exploitation in the next 30 days. It is known to be used in ransomware campaigns.
Remediation
Apply the vendor's security update for DrayTek Vigor Routers without delay. CISA's remediation due date for federal agencies is 2025-06-05. Vendor/agency notes: 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. Prioritize this CVE over non-exploited issues, and verify no compromise has already occurred.
References
Data is sourced from public feeds (CISA KEV, FIRST EPSS, Exploit-DB) and refreshed automatically.