CVE-2021-3122: Unauthenticated SYSTEM command execution in NCR Command Center Agent
- Vendor
- NCR Corporation
CVE-2021-3122 affects the CMCAgent component of NCR Command Center Agent 16.3 on Aloha point-of-sale and back-of-house servers. The RUNCommand function accepts a runCommand parameter in a specially crafted XML request delivered over TCP port 8089, allowing remote, unauthenticated execution of arbitrary commands with SYSTEM privileges. The vulnerability was exploited in the wild in 2020 and/or 2021. NCR maintains that exploitation requires an unsupported configuration exposing the agent's listening port.
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 arbitrary command execution with SYSTEM privileges on the affected server. Observed exploitation supported malware deployment, attacker-controlled remote access, firewall changes, and compromise of an Aloha POS environment used to steal payment-card data. Compromised back-of-house servers also served as collection points for card data scraped from isolated POS terminals.
Mitigation
If you can’t patch tonight, do this now.
Do not expose the Command Center Agent to the internet. Restrict TCP port 8089 to authorized systems through firewall rules and network access controls, and review existing exposure. Deploy current endpoint protection and investigate security alerts. Isolating the affected server or quarantining the agent can interrupt ongoing exploitation, subject to operational requirements.
Remediation
Patch, then assume compromise.
Update Aloha POS to the latest available version and review the Command Center Agent configuration against NCR's updated documentation. A specific fixed version or confirmed software patch is not identified. For compromised deployments, remove unauthorized remote-access software and malware, investigate connected POS terminals, and restore a trusted environment.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
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-3122 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-2021-3122?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2021-3122, the earliest disclosed Feb 7, 2021.
- Is there a patch for CVE-2021-3122?
- Update Aloha POS to the latest available version and review the Command Center Agent configuration against NCR's updated documentation. A specific fixed version or confirmed software patch is not identified.
- What products are affected by CVE-2021-3122?
- NCR Corporation Command Center Agent.
- How severe is CVE-2021-3122?
- CVE-2021-3122 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 87.9% (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.