Join our Newsletter — 33% off our NHI Course
Home› Glossary› Threats, Abuse & Incident Response› CVE-2022-46169 (Cacti Command Injection)
Threats, Abuse & Incident Response

CVE-2022-46169 (Cacti Command Injection)

← Back to Glossary
By NHI Mgmt Group Updated October 17, 2026 Domain: Threats, Abuse & Incident Response

CVE-2022-46169 is a command injection vulnerability in Cacti Cacti. CISA added it to the Known Exploited Vulnerabilities catalogue on 16 February 2023, which means attackers have used it in real attacks. Cacti contains a command injection vulnerability that allows an unauthenticated user to execute code.

What makes command injection dangerous in Cacti?

Command injection is dangerous because it turns a web-facing input flaw into operating system command execution. In a product like Cacti, that can move an issue from application misuse to full server compromise, which is why KEV-listed exploitation matters operationally and not just theoretically.

The practical security concern is that an unauthenticated attacker does not need valid user access first. When input reaches a shell or command runner without strict validation, the attacker can often chain commands, read local files, alter data, or plant persistence on the host.

How organisations confirm exposure to this CVE

Exposure assessment starts with a complete asset inventory: identify every Cacti deployment, where it sits, whether it is internet reachable, and whether it is behind compensating controls such as a reverse proxy, WAF, or network segmentation. That is the only reliable way to know whether the vulnerable code path is reachable from an attacker.

Because this is a KEV-listed issue, organisations should also compare their environment with the vendor advisory and the NIST National Vulnerability Database entry for authoritative record details, and then verify whether the vulnerable component exists in their own deployment. For prioritisation of known exploited issues, the CVE Program and CISA KEV together provide the canonical reference points.

Internet exposure increases urgency because unauthenticated command injection is far easier to weaponise than a flaw that requires internal access or a privileged login. Even where a system is not public, lateral movement inside the network can still reach it if internal trust is weak.

Remediation and compensating controls

The preferred fix is to apply the vendor’s remediation for the exact Cacti release in use, then confirm the instance no longer exposes the vulnerable path. If immediate patching is blocked, reduce attack surface by restricting access to trusted administrative networks, removing unnecessary public exposure, and disabling or isolating the affected service until it can be updated.

For vulnerable command execution paths, compensating controls should focus on preventing attacker-controlled strings from reaching the shell, limiting the privileges of the service account, and tightening file-system and process permissions so a successful exploit has less room to operate. Network controls can slow opportunistic exploitation, but they are not a substitute for removing the flaw.

Use the Vulnerability Management Guide as a practical model for prioritising KEV-listed issues, tracking remediation status, and verifying that the vulnerable asset is actually covered by your patch programme.

Detection and post-exploitation review

Detection should look for unusual web requests, unexpected process creation from the Cacti service, shell activity, suspicious child processes, and new outbound connections that do not match normal monitoring behaviour. If exploitation is suspected, review logs for command-delimiter characters, abnormal parameter values, and repeated requests that look like exploitation attempts rather than normal UI traffic.

After patching, organisations should still treat the host as potentially compromised if there is any sign of exploitation. Review for new users, altered scheduled tasks, modified binaries, webshells, persistence mechanisms, and credential theft, then reimage or rebuild if integrity cannot be trusted.

For broader exploit patterns and command-injection techniques, the Web Application Attacks Guide provides a useful taxonomy of how injection flaws are typically abused in practice.

Risk and Threat Considerations

This vulnerability is high-risk because unauthenticated command injection can give an external attacker immediate execution on an internet-facing management system. Once that happens, the issue is no longer limited to the application layer, it becomes host compromise with possible data access, service disruption, and pivot potential.

Failure mechanism: The attacker supplies crafted input that is passed into a command context, where the operating system interprets attacker-controlled metacharacters or arguments and executes unintended commands.

Impact: The attacker may gain remote code execution, steal credentials or configuration data, implant persistence, or use the host as a foothold for further movement inside the environment.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8, NIST SP 800-53 Rev 5 and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-7 — Continuous Vulnerability ManagementCVE exploitation and KEV prioritisation make ongoing vulnerability management central.
Recommendation — Prioritise KEV-listed vulnerabilities and verify remediation on every exposed Cacti instance.
NIST SP 800-53 Rev 5SI-2 — Flaw RemediationA command-injection CVE is a software flaw that requires timely remediation and verification.
SI-4 — System MonitoringCommand injection requires monitoring for exploitation attempts, abnormal processes, and post-exploit activity.
Recommendation — Remediate the vulnerable Cacti release and verify the fix is deployed everywhere the service runs. Monitor web requests, spawned processes, and outbound connections for exploitation indicators.
OWASP ASVSV4 — API and Web Service SecurityCommand injection in a web application is an input-to-execution flaw in the application service layer.
V15 — Secure Coding and ArchitectureThe issue is fundamentally a secure-coding failure in how the application handles attacker input.
Recommendation — Validate server-side inputs so untrusted request data cannot reach command execution paths. Remove command execution from request handling or strictly constrain it behind safe interfaces.

Practitioner Guidance

Why practitioners should care: A KEV-listed command injection in a management platform should be treated as a priority exposure, not a routine bug. If the service is reachable and untrusted input can reach command execution, the main question is whether the instance has already been probed or abused.

What to watch for: Focus on exploit indicators around the web tier and the host beneath it, especially unusual process trees, unexpected outbound traffic, and post-request system activity that does not fit normal monitoring workflows.

Practitioner takeaway: Confirm exposure first, patch or isolate quickly, and assume compromise until log review and host integrity checks prove otherwise.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org