RCE in Draytek Vigor 300b
CVE-2026-3040
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.101, 95.7th percentile (scored ); up from 0.073 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.073 · newest: 0.101 · change: +0.028
Affected products
- Draytek Vigor 300b — versions 1.5.1.0, 1.5.1.1, 1.5.1.2
- Draytek Vigor300b Firmware
Weakness classification (CWE)
References
- VDB-347394 | DrayTek Vigor 300B Web Management uploadlangs cgiGetFile os command injection (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-347394 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, Permissions Required, permissions-required, Third Party Advisory, VDB Entry)
- Submit #757126 | DrayTek Vigor 300B v1.5.1.6 OS Command Injection (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/master-abc/cve/issues/42 (issue-tracking, Exploit, exploit, Issue Tracking)