CVE-2020-27158: Addressed remote code execution vulnerability in cgi_api.php that allowed escalation of privileges in Western
CVE-2020-27158 is a critical-severity flaw (CVSS 9.8) affecting my cloud firmware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Addressed remote code execution vulnerability in cgi_api.php that allowed escalation of privileges in Western Digital My Cloud NAS devices prior to 5.04.114.
Why this priority
- Critical severity
- EPSS top 6%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 7.5% (top 6%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2020-10-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-27158?
my cloud firmware: upgrade to 5.04.114. Exact commands for each OS are on this page.
Is CVE-2020-27158 being exploited?
CVE-2020-27158 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-27158 affect?
CVE-2020-27158 affects my cloud firmware. Severity is critical (CVSS 9.8). Addressed remote code execution vulnerability in cgi_api.php that allowed escalation of privileges in Western Digital My Cloud NAS devices prior to 5.04.114.
How urgent is CVE-2020-27158?
Priority 68/100. Critical severity; EPSS top 6%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
PHP vulnerabilities · Western Digital vulnerabilities
Related CVEs
- CVE-2020-27744 CRITICAL 9.8 UPGRADE An issue was discovered on Western Digital My Cloud NAS devices before 5.04.114
- CVE-2020-27160 CRITICAL 9.8 UPGRADE Addressed remote code execution vulnerability in AvailableApps.php that allowed escalation of privileges in We
- CVE-2020-27159 CRITICAL 9.8 UPGRADE Addressed remote code execution vulnerability in DsdkProxy.php due to insufficient sanitization and insufficie
- CVE-2020-25765 CRITICAL 9.8 UPGRADE Addressed remote code execution vulnerability in reg_device.php due to insufficient validation of user input.i
- CVE-2020-12830 CRITICAL 9.8 UPGRADE Addressed multiple stack buffer overflow vulnerabilities that could allow an attacker to carry out escalation