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.
References
Link Resource
https://github.com/master-abc/cve/issues/42 Exploit Issue Tracking
https://vuldb.com/?ctiid.347394 Permissions Required Third Party Advisory VDB Entry
https://vuldb.com/?id.347394 Third Party Advisory VDB Entry
https://vuldb.com/?submit.757126 Third Party Advisory VDB Entry
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:draytek:vigor300b_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:draytek:vigor300b:-:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-02-23 22:16

Updated : 2026-02-26 16:11


NVD link : CVE-2026-3040

Mitre link : CVE-2026-3040

CVE.ORG link : CVE-2026-3040


JSON object : View

Products Affected

draytek

  • vigor300b
  • vigor300b_firmware
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')