CVE-2022-50994CWE-78

DrayTek Vigor 2960 < 1.5.1.4 OS Command Injection via mainfunction.cgi

Critical · published May 8, 2026

CVSS v4.0
9.2
EPSS
1%
Percentile
72.8
In the wild
Unconfirmed
What it is

DrayTek Vigor 2960 firmware versions prior to 1.5.1.4 contain an OS command injection vulnerability in the CGI login handler that allows unauthenticated remote attackers to execute arbitrary commands by injecting shell metacharacters into the formpassword parameter. Attackers can exploit unsanitized input passed to the otp_check.sh script to achieve remote code execution with web server privileges. Exploitation requires knowledge of a valid username and that the target account has MOTP authentication enabled.

The record
Technical detail
CVSS v4.0
9.2 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.01432 · 72.8th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-05-08T12:35Z
EPSS history
Timeline
  • 08 MAY 12:35Z
    DrayTek Vigor 2960 < 1.5.1.4 OS Command Injection via mainfunction.cgi
    cvelistv5