CVE-2020-35665: Unauthenticated OS Command Injection in TerraMaster TOS CSV Creation
- Vendor
- Terra-Mater
CVE-2020-35665 is an unauthenticated OS command-injection vulnerability in TerraMaster TOS through version 4.2.06. During CSV creation, the application incorporates the attacker-controlled Event parameter into a shell command without safely neutralizing shell metacharacters. A remote attacker can supply a crafted Event value to cause arbitrary commands to be evaluated by the underlying operating system.
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 permits unauthenticated remote command execution with the privileges of the vulnerable TOS web application or service. An attacker can download and execute additional payloads, establish persistence, alter or steal NAS-hosted data, use the device for cryptomining or DDoS activity, and potentially pivot into networks reachable from the appliance.
Mitigation
If you can’t patch tonight, do this now.
Until patching is complete, restrict access to the TOS management interface and CSV-generation functionality to trusted administrative networks or VPN users. Do not expose the management service directly to the Internet. Apply web-application filtering for command-injection metacharacters in the Event parameter, monitor for anomalous CSV-export requests and unexpected child processes from the web service, and isolate affected NAS devices from sensitive internal systems.
Remediation
Patch, then assume compromise.
Apply the vendor-provided security update that remediates CVE-2020-35665, or upgrade to a currently supported TerraMaster TOS release containing the fix. Verify that all affected devices running TOS 4.2.06 or earlier are updated.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
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-35665 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-35665?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-35665, the earliest disclosed Dec 12, 2020.
- Is there a patch for CVE-2020-35665?
- Apply the vendor-provided security update that remediates CVE-2020-35665, or upgrade to a currently supported TerraMaster TOS release containing the fix. Verify that all affected devices running TOS 4.2.06 or earlier are updated.
- What products are affected by CVE-2020-35665?
- Terra-Mater Terramaster Operating System.
- How severe is CVE-2020-35665?
- CVE-2020-35665 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 78.5% (100th percentile) as of Oct 16, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.