Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2020-35665: Unauthenticated OS Command Injection in TerraMaster TOS CSV Creation

Published Dec 23, 2020 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS78.5%100th percentile
CISA KEVNoNot listed
In the wildReported559 exploitation records in Mallory
Vendor
Terra-Mater
IdentifiersCVE-2020-35665CWE-78 · Improper Neutralization of Special…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Exposure surface

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.

VendorProductType
Terra-MaterTerramaster Operating Systemoperating_system
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence2Every report linking this CVE to a named adversary.
Associated malware5Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.