CVE-2021-27877: Remote privileged command execution in Veritas Backup Exec SHA authentication
- Vendor
- Veritas Technologies
CVE-2021-27877 is an authentication vulnerability in Veritas Backup Exec before version 21.2. A legacy SHA authentication scheme remained enabled despite no longer being used by current product versions. A remote attacker can exploit this scheme to gain unauthorized access to Backup Exec Agent and execute privileged operating-system commands. Exploitation involving this vulnerability has been observed in ransomware attacks that chained CVE-2021-27876, CVE-2021-27877, and CVE-2021-27878.
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 unauthorized access to Backup Exec Agent and privileged command execution, potentially with SYSTEM or root privileges depending on the platform. This exposes the affected server to attacker-controlled operations. Ransomware operators have used exploitation chains involving this vulnerability for initial access to organizational networks; the impact attributable to this CVE alone is not separately established in those incidents.
Mitigation
If you can’t patch tonight, do this now.
Follow Veritas mitigation guidance for affected Backup Exec deployments. Maintain multiple backups and an established recovery plan to limit downstream ransomware damage. These resilience measures do not correct the authentication vulnerability; specific technical workaround steps are not available.
Remediation
Patch, then assume compromise.
Upgrade affected Veritas Backup Exec installations to version 21.2 or later. Veritas released fixes in March 2021. The affected release families include 16.x, 20.x, and 21.x before the fixed release. A separate fixed Backup Exec Agent version is not specified.
Exploits
5 exploits 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-2021-27877 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 Apr 7, 2023.
- Is there a public exploit for CVE-2021-27877?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2021-27877, the earliest disclosed Mar 1, 2021.
- Is there a patch for CVE-2021-27877?
- Upgrade affected Veritas Backup Exec installations to version 21.2 or later. Veritas released fixes in March 2021.
- What products are affected by CVE-2021-27877?
- Veritas Technologies Backup Exec.
- How severe is CVE-2021-27877?
- CVE-2021-27877 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 64.9% (99th 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.