CVE-2021-27561: Unauthenticated Root Command Injection in Yealink Device Management
- Vendor
- Yealink
CVE-2021-27561 is an unauthenticated OS command-injection vulnerability in Yealink Device Management (DM) version 3.6.0.20. The firewall-zone services API endpoint fails to safely handle attacker-controlled input, allowing commands to be injected and executed by the underlying system as root.
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.
A remote unauthenticated attacker can execute arbitrary operating-system commands with root privileges on an affected Yealink DM instance. This enables complete compromise of the management host, including malware deployment, configuration modification, credential or data access, persistence, and use of the system as a pivot point or botnet node.
Mitigation
If you can’t patch tonight, do this now.
Until remediation is completed, restrict access to the Yealink Device Management interface and associated API endpoints to trusted administrative networks only. Remove direct internet exposure wherever possible, enforce network-layer access controls, and place the service behind VPN or equivalent administrative access gateways. Monitor for unexpected command execution, configuration changes, new privileged processes, and signs of malware deployment. If compromise is suspected, isolate the system and perform incident response, as exploitation yields root-level execution.
Remediation
Patch, then assume compromise.
Upgrade Yealink Device Management to a fixed version provided by the vendor if available. If an official patch or updated release addressing CVE-2021-27561 has been issued, apply it on an urgent basis to all exposed systems. Review vendor security guidance for any additional hardening or configuration changes associated with the fix. After patching, inspect affected systems for signs of prior compromise because the vulnerability was incorporated rapidly into opportunistic exploitation activity.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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-2021-27561 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2021-27561?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-27561.
- Is there a patch for CVE-2021-27561?
- Upgrade Yealink Device Management to a fixed version provided by the vendor if available. If an official patch or updated release addressing CVE-2021-27561 has been issued, apply it on an urgent basis to all exposed systems.
- What products are affected by CVE-2021-27561?
- Yealink Device Management.
- How severe is CVE-2021-27561?
- CVE-2021-27561 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 83.6% (100th percentile) as of Oct 16, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.