CVE-2022-46169: Unauthenticated Remote Command Execution in Cacti
- Vendor
- Cacti
CVE-2022-46169 is an unauthenticated command injection vulnerability affecting Cacti versions 1.2.22 and earlier. The remote polling endpoint authorizes clients by resolving their IP address and matching the resulting hostname against the poller database. Because get_client_addr trusts attacker-controlled HTTP headers, an attacker can impersonate an authorized poller, including the Cacti server itself. After bypassing authorization, the attacker can invoke the polldata action. When a matching poller item uses POLLER_ACTION_SCRIPT_PHP, poll_for_data incorporates the insufficiently validated poller_id parameter into a command executed through proc_open, enabling arbitrary operating system command execution.
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 compromises the Cacti server within the privileges of the executing application process, potentially allowing access to application data and network monitoring information, modification of monitoring operations, and installation of additional malware. Exposed network information can support further targeting and lateral movement. Exploitation in the wild has delivered Mirai-derived malware, Moobot, and ShellBot, enabling activities including distributed denial-of-service attacks, reverse shells, and port scanning.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the remote polling endpoint to trusted pollers using network or web-server access controls. Prevent client-supplied forwarding headers from determining the address used for authorization; where compatibility requires these headers, ensure attackers cannot use them to impersonate the Cacti server or another authorized poller. These measures reduce exposure but do not replace upgrading.
Remediation
Patch, then assume compromise.
Upgrade to a supported Cacti release containing the fix. The first patched release in the 1.2.x branch is 1.2.23; the corresponding patched 1.3.x release is 1.3.0. Apply the vendor fixes addressing both client-address-based authorization bypass and command injection.
Exploits
17 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 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-2022-46169 exploited in the wild?
- Yes. As of Nov 27, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 16, 2023.
- Is there a public exploit for CVE-2022-46169?
- Yes. Mallory tracks 17 public exploits or proofs of concept for CVE-2022-46169, the earliest disclosed Dec 5, 2022.
- Is there a patch for CVE-2022-46169?
- Upgrade to a supported Cacti release containing the fix. The first patched release in the 1.2.x branch is 1.2.23; the corresponding patched 1.3.x release is 1.3.0.
- What products are affected by CVE-2022-46169?
- Cacti.
- How severe is CVE-2022-46169?
- CVE-2022-46169 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 98.2% (100th percentile) as of Nov 27, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.