OS Command Injection Vulnerability in DrayTek Vigor 2960

Patch this weekFull system takeover over the network, no login needed.
9.2CRITICAL

CVE-2022-50994

Key Information:

Vendor

Draytek

CVE ID
CVE ID:
CVE-2022-50994
Vendor
CVE Published:
8 May 2026

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Vigor 2960. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.2).

What is CVE-2022-50994?

The DrayTek Vigor 2960 firmware prior to version 1.5.1.4 is susceptible to an OS command injection vulnerability within its CGI login handler. This flaw permits unauthenticated remote attackers to execute arbitrary commands on the affected system. By injecting shell metacharacters into the formpassword parameter, attackers can exploit unsanitized input directed to the otp_check.sh script, gaining remote code execution capabilities with web server privileges. To successfully exploit this vulnerability, the attacker must possess a valid username and ensure that the target account has Multi-Option Authentication (MOTP) enabled.

Affected Version(s)

Vigor 2960 0

References

OS Command Injection in DrayTek Vigor2960/Vigor300B

CVE-2024-12987
DraytekVigor2960👾6.9MEDIUM
View more Draytek vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V4

Score:
9.2
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None
.