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 trend (30 days)EPSS over the last 30 days for CVE-2026-3040: rose from 0.073 to 0.101.

EPSS over last 30 days · oldest: 0.073 · newest: 0.101 · change: +0.028

Affected products

Weakness classification (CWE)

References