# CVE-2026-3040: DrayTek Vigor 300B Web Management uploadlangs cgiGetFile os command injection

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS: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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 10.0%, higher than 95% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-23T22:02:07.526Z
- Modified: 2026-06-17T10:42:55.480Z
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- DrayTek Vigor 300B: 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
- draytek vigor300b_firmware: up to 1.5.1.6

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS: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`
- VulDB: CVSS:3.1 4.7 Medium `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`
- VulDB: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 5.8 Medium `AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/master-abc/cve/issues/42> (exploit, issue-tracking)
- <https://vuldb.com/?id.347394> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.347394> (permissions-required, signature, third-party-advisory, vdb-entry)
- <https://vuldb.com/?submit.757126> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2026-3040](https://www.cve.org/CVERecord?id=CVE-2026-3040), CVE Terms of Use, modified 2026-02-25
- NVD: [CVE-2026-3040](https://nvd.nist.gov/vuln/detail/CVE-2026-3040), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3040 · Whole record: https://cve.day/CVE-2026-3040.json · Rebuilt by cve.day 2026-11-25T22:59:14.664Z
