DrayTek Vigor 300B up to 1.5.1.6 Web Management Interface uploadlangs cgiGetFile os command injection
Summary
A vulnerability described as critical has been identified in DrayTek Vigor 300B up to 1.5.1.6. This vulnerability affects the function cgiGetFile of the file /cgi-bin/mainfunction.cgi/uploadlangs of the component Web Management Interface. The manipulation of the argument File results in os command injection. This vulnerability only affects products that are no longer supported by the maintainer.
This vulnerability is cataloged as CVE-2026-3040. The attack may be launched remotely. Furthermore, there is an exploit available.
The vendor confirms that "300B is EoL, and this is an authenticated vulnerability. We don't plan to fix it."
Details
A vulnerability, which was classified as critical, was found in DrayTek Vigor 300B up to 1.5.1.6. Affected is the function cgiGetFile of the file /cgi-bin/mainfunction.cgi/uploadlangs of the component Web Management Interface. The manipulation of the argument file with an unknown input leads to a os command injection vulnerability. CWE is classifying the issue as CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability.
The advisory is available at github.com. This vulnerability is traded as CVE-2026-3040. The exploitability is told to be easy. It is possible to launch the attack remotely. Additional levels of successful authentication are needed for exploitation. Technical details and a public exploit are known. This vulnerability is assigned to T1202 by the MITRE ATT&CK project.
The exploit is shared for download at github.com. It is declared as proof-of-concept. The vendor confirms that "300B is EoL, and this is an authenticated vulnerability. We don't plan to fix it."
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2026-0486). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Affected
- DrayTek Vigor
Product
Type
Vendor
Name
Version
License
Support
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.4
VulDB Base Score: 4.7
VulDB Temp Score: 4.3
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.2
NVD Vector: 🔒
CNA Base Score: 4.7
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Os command injectionCWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
02/23/2026 Advisory disclosed02/23/2026 VulDB entry created
02/28/2026 VulDB entry last update
Sources
Advisory: github.comStatus: Not defined
CVE: CVE-2026-3040 (🔒)
GCVE (CVE): GCVE-0-2026-3040
GCVE (VulDB): GCVE-100-347394
CERT Bund: WID-SEC-2026-0486 - DrayTek Vigor 300B: Schwachstelle ermöglicht Codeausführung
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 02/23/2026 17:39Updated: 02/28/2026 08:42
Changes: 02/23/2026 17:39 (60), 02/24/2026 12:53 (7), 02/28/2026 08:42 (41)
Complete: 🔍
Submitter: jiefengliang
Cache ID: 216::103
Submit
Accepted
- Submit #757126: DrayTek Vigor 300B v1.5.1.6 OS Command Injection (by jiefengliang)
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.