{"id":"CVE-2026-3040","published":"2026-02-23T22:02:07Z","modified":"2026-02-25T15:37:21Z","title":"DrayTek Vigor 300B Web Management uploadlangs cgiGetFile os command injection","vendor":"DrayTek","product":"Vigor 300B","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.10015,"percentile":0.95726,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://vuldb.com/?id.347394","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.347394","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.757126","tags":["third-party-advisory"]},{"url":"https://github.com/master-abc/cve/issues/42","tags":["exploit","issue-tracking"]}],"priority":{"score":27.4,"factors":[{"name":"EPSS percentile","points":19.15},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"draytek","affectedVersions":[{"vendor":"DrayTek","product":"Vigor 300B","versions":["1.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"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-25T15:36:47.699598Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The DrayTek Vigor 300B (up to version 1.5.1.6) contains an OS command injection flaw in the cgiGetFile function of the /cgi-bin/mainfunction.cgi/uploadlangs endpoint within its Web Management Interface, triggered by manipulation of the File argument. A remote attacker who holds valid credentials can exploit it through user-facing requests to execute arbitrary operating system commands on the device, as the flaw requires high privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:37:43Z"},"euvd":{"id":"EUVD-2026-7476","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/master-abc/cve/issues/42"]}