CVE-2026-3040: DrayTek Vigor 300B Web Management uploadlangs cgiGetFile os command injection
Vulnerability summary
CVE-2026-3040 is a high (CVSS 7.2) Command Injection vulnerability in draytek vigor 300b. EPSS estimates a 7.99% chance of exploitation in the next 30 days, higher than 94.7% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 23-02-2026PublishedVulnerability first disclosed.
- 25-02-2026Last modifiedVulnerability information updated.
Description
A vulnerability was identified in DrayTek Vigor 300B up to 1.5.1.6. This affects the function cgiGetFile of the file /cgi-bin/mainfunction.cgi/uploadlangs of the component Web Management Interface. The manipulation of the argument File leads to os command injection. The attack may be initiated remotely. The exploit is publicly available and might be used. The vendor confirms that "300B is EoL, and this is an authenticated vulnerability. We don't plan to fix it." This vulnerability only affects products that are no longer supported by the maintainer.
CVSS metrics
7 scores · 2 sources · 4 versions- NVDNIST2.0LowCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XDiffers
- CVE.orgCNA4.7MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:RDiffers
- NVDNIST5.8MediumAV:N/AC:L/Au:M/C:P/I:P/A:P
EPSS trend
Probability
7.99%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
Decrease -1.12 pp
From 9.11% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundCve
Maturity: poc
Weaknesses
CWE · root cause- CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Affected systems
Draytek2 products
- vigor 300b1.5.1.0 | 1.5.1.1 | 1.5.1.2 | 1.5.1.3 | 1.5.1.4 | 1.5.1.5 | 1.5.1.6
- vigor300b_firmware≤ 1.5.1.6
1 vendor · 2 products