RCE in Draytek Vigor 2960

CVE-2022-50994

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.014 (72.0th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 72.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-50994: held from 0.014 to 0.014.

EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-50994?
CVE-2022-50994 is a high-severity vulnerability in Draytek Vigor 2960, classified under OS Command Injection. CVSS score: 8.1/10. Published 2026-05-08.
How severe is CVE-2022-50994?
High severity. CVSS v3 base score is 8.1 out of 10.