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

Published Feb 23, 2026
·
Updated

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.

Affected Software

3 affected components
DrayTek Vigor 300B<=1.5.1.6
All of the following
DrayTek Vigor300b Firmware<=1.5.1.6
DrayTek Vigor300B

Event History

Feb 23, 2026
CVE Published
via MITRE·10:02 PM
Data Sourced
via MITRE·10:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software
Oct 18, 58128
Event
via FIRST·12:28 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-3040?

CVE-2026-3040 is classified as a critical vulnerability due to the potential for remote code execution through OS command injection.

2

How do I fix CVE-2026-3040?

To mitigate CVE-2026-3040, update the DrayTek Vigor 300B firmware to version 1.5.1.7 or later.

3

What systems are affected by CVE-2026-3040?

CVE-2026-3040 affects DrayTek Vigor 300B devices running versions up to and including 1.5.1.6.

4

What kind of attack can exploit CVE-2026-3040?

CVE-2026-3040 can be exploited through remote attacks that utilize OS command injection via the web management interface.

5

Is CVE-2026-3040 being actively exploited?

There have been reports suggesting that CVE-2026-3040 may be actively exploited in the wild, emphasizing the need for immediate action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203