Vulnerabilities

Vulnerability · CVE-2022-46169

Cacti Command Injection Vulnerability

Published Dec 5, 2022 · catalog updated Jun 16, 2026 · Cacti Cacti

Patch now

CVE-2022-46169 is in the CISA known-exploited catalog, due Mar 9, 2023. Confirm Cacti Cacti against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Gaps on this record

  • No version range is stored. A customer cannot check an installed version against this record.
Severity
Critical9.8
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
99.83%
Remediation
Remediation guidance
Affected products
cpe cacti/cacti · vendor Cacti Cacti

Cacti is an open source platform which provides a robust and extensible operational monitoring and fault management framework for users. In affected versions a command injection vulnerability allows an unauthenticated user to execute arbitrary code on a server running Cacti, if a specific data source was selected for any monitored device. The vulnerability resides in the file. This file can be accessed without authentication. This function retrieves the IP address of the client via and resolves this IP address to the corresponding hostname via . After this, it is verified that an entry within the table exists, where the hostname corresponds to the resolved hostname. If such an entry was found, the function returns and the client is authorized. This authorization can be bypassed due to the implementation of the function. The function is defined in the file and checks serval variables to determine the IP address of the client. The variables beginning with can be arbitrarily set by an attacker. Since there is a default entry in the table with the hostname of the server running Cacti, an attacker can bypass the authentication e.g. by providing the header . This way the function returns the IP address of the server running Cacti. The following call to will resolve this IP address to the hostname of the server, which will pass the hostname check because of the default entry. After the authorization of the file is bypassed, an attacker can trigger different actions. One of these actions is called . The called function retrieves a few request parameters and loads the corresponding entries from the database. If the of a equals , the function is used to execute a PHP script. The attacker-controlled parameter is retrieved via the function , which allows arbitrary strings. This variable is later inserted into the string passed to , which leads to a command injection vulnerability. By e.g. providing the the command is executed. In order to reach the vulnerable call, the attacker

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe cacti/cactiversion unspecified
  • vendor Cacti Cactiversion unspecified

How to fix CVE-2022-46169

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2022-46169 is in the CISA known-exploited catalog, due Mar 9, 2023. Confirm Cacti Cacti against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Affected version ranges are not on this record. Apply updates per vendor instructions.

What should an analyst verify?

CWE-74: Injection; CWE-78: OS Command Injection; CWE-863: Incorrect Authorization. EPSS 99.83%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Dec 5, 2022 · Catalog

    Detected

    Cacti is an open source platform which provides a robust and extensible operational monitoring and fault management framework for users. In affected versions a command injection vulnerability allows an unauthenticated user to execute arbitrary code on a server running Cacti, if a specific data source was selected for any monitored device. The vulnerability resides in the file. This file can be acc

  2. Feb 16, 2023 · CISA KEV

    Known exploited

    Apply updates per vendor instructions.

  3. Mar 9, 2023 · CISA KEV

    Remediation due

    Apply updates per vendor instructions.

  4. Jun 16, 2026 · Catalog

    Updated

    Cacti is an open source platform which provides a robust and extensible operational monitoring and fault management framework for users. In affected versions a command injection vulnerability allows an unauthenticated user to execute arbitrary code on a server running Cacti, if a specific data source was selected for any monitored device. The vulnerability resides in the file. This file can be acc

Sources

  • CISA KEVConfirmed exploitationCVE-2022-46169

    Cacti contains a command injection vulnerability that allows an unauthenticated user to execute code.

    cisa.gov
  • CVE.orgVulnerability recordCVE-2022-46169

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2022-46169

    30-day exploitation probability 99.8%

    first.org
  • Exploit DatabasePublic exploit reference51166

    Public archive entry. The exploit body is not stored here.

    exploit-db.com
  • Metasploit ModulesPublic exploit moduleexploit_linux/http/cacti_unauthenticated_cmd_injection

    Public module reference (excellent). Module source is not copied into this catalog.

    rapid7.com
  • NIST NVDVulnerability recordCVE-2022-46169

    Cacti is an open source platform which provides a robust and extensible operational monitoring and fault management framework for users. In affected versions a command injection vulnerability allows an unauthenticated user to execute arbitrary code on a server running Cacti, if a

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-2022-46169

    Cacti contains a command injection vulnerability that allows an unauthenticated user to execute code.

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.