CVE-2020-28188: Unauthenticated OS Command Injection in TerraMaster TOS
- Vendor
- Terra-Mater
CVE-2020-28188 is an OS command injection vulnerability in TerraMaster TOS affecting version 4.2.06 and earlier. Insufficient validation of the event parameter in a PHP request handler allows remote, unauthenticated attackers to inject operating-system commands and compromise the NAS device. Some descriptions instead identify affected versions as earlier than 4.2.06; the identified fix version is 4.2.07.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation enables arbitrary operating-system command execution and attacker control of the affected NAS. Root-level access has been reported in connection with this vulnerability alongside other TerraMaster RCE vulnerabilities. Exploitation has been associated with ransomware deployment and FreakOut/Necro botnet infections, enabling subsequent file encryption, cryptocurrency mining, remote control, and DDoS activity.
Mitigation
If you can’t patch tonight, do this now.
Restrict external access to the affected NAS services and disable unnecessary externally accessible services and their corresponding ports. These exposure-reduction measures do not replace applying the security update.
Remediation
Patch, then assume compromise.
Upgrade TerraMaster TOS to a fixed release. Version 4.2.07 is identified as implementing the relevant fixes.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-28188 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2020-28188?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-28188, the earliest disclosed Dec 12, 2020.
- Is there a patch for CVE-2020-28188?
- Upgrade TerraMaster TOS to a fixed release. Version 4.2.07 is identified as implementing the relevant fixes.
- What products are affected by CVE-2020-28188?
- Terra-Mater Tos.
- How severe is CVE-2020-28188?
- CVE-2020-28188 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 96.5% (100th percentile) as of Oct 16, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.