CVE-2020-5722 is an unauthenticated SQL injection in the web interface of Grandstream UCM6200 series IP PBX phone systems. On firmware before 1.0.19.20 it lets a remote attacker run shell commands as root, and before 1.0.20.17 it allows HTML injection into password emails. It is in CISA KEV; firmware 1.0.20.17 or later fixes both paths.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
84.3%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2020-5722 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Grandstream UCM6200 series IP PBX firmware (UCM62xx, e.g. UCM6202) | cpe:2.3:o:grandstream:ucm6200_firmware:*:*:*:*:*:*:*:* | Root command execution before 1.0.19.20 (NVD CPE); HTML injection in password recovery emails before 1.0.20.17 (CVE record); fixed in 1.0.20.17 |
What does this mean for affected devices?
Tenable, the CVE numbering authority, describes it as follows: "The HTTP interface of the Grandstream UCM6200 series is vulnerable to an unauthenticated remote SQL injection via crafted HTTP request. An attacker can use this vulnerability to execute shell commands as root on versions before 1.0.19.20 or inject HTML in password recovery emails in versions before 1.0.20.17." NVD's Primary scores are CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and NVD CVSS v2 10.0 (AV:N/AC:L/Au:N/C:C/I:C/A:C), with CWE-89 (SQL injection). NVD's CPE matches UCM6200 firmware before 1.0.19.20, and the CVE record lists the UCM6200 series before 1.0.20.17 as affected (NVD, CVE record).
Which UCM6200 firmware fixes it?
Tenable found the flaw while investigating a UCM6202 and published research advisory TRA-2020-15 on 2020-03-23. The injectable query sits behind the web interface's password-recovery feature. Grandstream had already closed the root command execution path in 1.0.19.20 as a side effect of input filtering it added for an earlier flaw, CVE-2019-10662, but the SQL injection itself remained until 1.0.20.17. Grandstream confirmed to Tenable that both issues were patched before publication (Tenable TRA-2020-15). Run UCM62xx systems on 1.0.20.17 or later, and do not expose the PBX web interface to the internet; our guide to internet-exposed management interfaces covers why.
Is CVE-2020-5722 exploited?
Yes. CISA added it to KEV on 2022-01-28 as "Grandstream Networks UCM6200 Series SQL Injection Vulnerability", due 2022-07-28, noting that "Exploitation can allow for code execution as root." The required action is "Apply updates per vendor instructions." Known ransomware campaign use is Unknown, and the entry is listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.84287, the 99.70th percentile, in the 2026-11-24 dataset (FIRST EPSS); our KEV and EPSS prioritization guide explains how to rank such entries. Other unauthenticated web-interface flaws in network appliances on the KEV list include CVE-2023-1389 in TP-Link Archer routers and CVE-2024-3273 in D-Link NAS devices.
Evidence
- NVD (read 2026-11-25): status Analyzed, published 2020-03-23, CNA Tenable; description quoted; NVD Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H and CVSS v2 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C; CWE-89; CPE grandstream ucm6200_firmware before 1.0.19.20. — NVD
- CVE record PUBLISHED, CNA Tenable; Grandstream UCM6200 Series affected before 1.0.20.17. — CVE.org
- Tenable TRA-2020-15: found while investigating the UCM6202; SQL injection in the Forgot Password feature; RCE below 1.0.19.20 (inadvertently patched by metacharacter filtering added for CVE-2019-10662), HTML injection below 1.0.20.17; Grandstream clarified the issues had been patched; published 2020-03-23; Tenable CVSSv2 10.0. — Tenable
- KEV catalog 2026.11.24: dateAdded 2022-01-28, due 2022-07-28; unauthenticated remote SQL injection, exploitation can allow code execution as root; required action 'Apply updates per vendor instructions.'; knownRansomwareCampaignUse Unknown; CWE-89. — CISA KEV
- EPSS 0.84287, percentile 0.99701, dataset 2026-11-24. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which Grandstream firmware fixes CVE-2020-5722?
Firmware 1.0.20.17 or later. Root command execution was blocked from 1.0.19.20, but the SQL injection and HTML injection into password recovery emails remained until 1.0.20.17 (per the CVE record and Tenable TRA-2020-15).
Does CVE-2020-5722 need a login to the PBX?
No. The CVE record describes it as an unauthenticated remote SQL injection through the HTTP interface, and NVD's Primary vector requires no privileges (PR:N) (per the CVE record and NVD).
Which Grandstream models are affected by CVE-2020-5722?
The UCM6200 series IP PBX; Tenable found it on a UCM6202 (per the CVE record and Tenable TRA-2020-15).
Is CVE-2020-5722 exploited in the wild?
Yes. CISA added it to KEV on 2022-01-28 with ransomware use Unknown; it is listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.84287 in the 2026-11-24 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?