What it is
CVE-2022-46169 is an unauthenticated Unauthenticated Command Injection affecting cacti.
Vulnerability Intelligence
Unauthenticated Command Injection
Cacti · affected before 1.2.23
Exploitation attempts observed by Previdian sensors. They do not show that the target was vulnerable or that the attempt succeeded.
128
Attempts observed
35
Unique attacker IPs
20
Attacker countries
AE · BD · CH · CN · DE · ES · FI · FR · GB · ID · IN · JP · LU · MD · NL · RU · SG · UA · US · VN
32
Sensors observed
CVE-2022-46169 exploitation attempts over the last 91 days
Daily events observed by Previdian sensors
Updated 01 Dec 2026
Decision summary
Direct answers before the deeper technical record.
What it is
CVE-2022-46169 is an unauthenticated Unauthenticated Command Injection affecting cacti.
Have exploitation attempts been observed?
Yes. Previdian sensors have observed 128 exploitation attempts, 35 unique attacker IPs, and 20 countries targeting CVE-2022-46169. First observed Jul 10, 2026; last observed Nov 29, 2026. Listed in CISA KEV. Also reported by third-party sources. Confidence is confirmed.
Who is affected?
cacti, including affected before 1.2.23 and affected before 1.2.23.
What should we do?
Patch immediately, validate internet-facing exposure, and monitor for matching requests.
Overview
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 `remote_agent.php` file. This file can be accessed without authentication. This function retrieves the IP address of the client via `get_client_addr` and resolves this IP address to the corresponding hostname via `gethostbyaddr`. After this, it is verified that an entry within the `poller` table exists, where the hostname corresponds to the resolved hostname. If such an entry was found, the function returns `true` and the client is authorized. This authorization can be bypassed due to the implementation of the `get_client_addr` function. The function is defined in the file `lib/functions.php` and checks serval `$_SERVER` variables to determine the IP address of the client. The variables beginning with `HTTP_` can be arbitrarily set by an attacker. Since there is a default entry in the `poller` table with the hostname of the server running Cacti, an attacker can bypass the authentication e.g. by providing the header `Forwarded-For: `. This way the function `get_client_addr` returns the IP address of the server running Cacti. The following call to `gethostbyaddr` will resolve this IP address to the hostname of the server, which will pass the `poller` hostname check because of the default entry. After the authorization of the `remote_agent.php` file is bypassed, an attacker can trigger different actions. One of these actions is called `polldata`. The called function `poll_for_data` retrieves a few request parameters and loads the corresponding `poller_item` entries from the database. If the `action` of a `poller_item` equals `POLLER_ACTION_SCRIPT_PHP`, the function `proc_open` is used to execute a PHP script. The attacker-controlled parameter `$poller_id` is retrieved via the function `get_nfilter_request_var`, which allows arbitrary strings. This variable is later inserted into the string passed to `proc_open`, which leads to a command injection vulnerability. By e.g. providing the `poller_id=;id` the `id` command is executed. In order to reach the vulnerable call, the attacker must provide a `host_id` and `local_data_id`, where the `action` of the corresponding `poller_item` is set to `POLLER_ACTION_SCRIPT_PHP`. Both of these ids (`host_id` and `local_data_id`) can easily be bruteforced. The only requirement is that a `poller_item` with an `POLLER_ACTION_SCRIPT_PHP` action exists. This is very likely on a productive instance because this action is added by some predefined templates like `Device - Uptime` or `Device - Polling Time`.
This command injection vulnerability allows an unauthenticated user to execute arbitrary commands if a `poller_item` with the `action` type `POLLER_ACTION_SCRIPT_PHP` (`2`) is configured. The authorization bypass should be prevented by not allowing an attacker to make `get_client_addr` (file `lib/functions.php`) return an arbitrary IP address. This could be done by not honoring the `HTTP_...` `$_SERVER` variables. If these should be kept for compatibility reasons it should at least be prevented to fake the IP address of the server running Cacti. This vulnerability has been addressed in both the 1.2.x and 1.3.x release branches with `1.2.23` being the first release containing the patch.
Exploitation evidence
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
CISA
A trusted third party reported exploitation attempts.
Previdian sensor
Previdian sensors observed exploitation attempts targeting this vulnerability.
Public scanner or PoC coverage increases practical exploitability.
Per-source evidence links for KEV attestations are available through the Previdian API.
Request a Demo| Source | Added |
|---|---|
| CISA First | 2023-02-16 00:00 UTC |
| The Shadowserver | 2026-07-03 00:00 UTC |
| Previdian Sensors | 2026-07-10 03:25 UTC |
Operational indicators for this CVE are listed under Detection.
Sensor telemetry
Previdian sensor observations are exploitation attempts targeting this vulnerability. They do not show that the target was vulnerable or that the attempt succeeded. The cards and chart show volume, unique attackers, and daily activity.
First observed 10 Jul 2026 · Last observed 29 Nov 2026
Enterprise includes sensor region and window summaries, plus raw IPs, paths, User-Agents, and payloads.
Detection
Make the evidence actionable in scanner, SOC, and edge-control workflows.
Request targets, User-Agents, and callback host details are available on Enterprise.
Metasploit template detected 28 Apr 2025.
View Metasploit template (opens in new tab)Previdian virtual patch guidance is available for this CVE.
Attacker IP indicators observed. Available on Enterprise.
Sensor-derived attacker IP indicators are available on Enterprise under Detection and through the API.
Request a DemoScanner and exploit-framework references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/cacti_unauthenticated_cmd_injection.rb | 28 Apr 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-46169.yaml | 25 Apr 2025 |
Compensating WAF rules for this CVE.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to Previdian Enterprise users.
Risk and context
CVSS v3.1
Potential damage if exploited. Separate from whether attackers are using it.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
98.2%
Estimated chance of exploitation in the next 30 days. Previdian's warning comes from evidence, not this score.
These PoCs are unverified and could contain malware. Use at your own risk.
nuclei · Created Unknown
metasploit · Created Unknown
Metasploit module for CVE-2022-46169
API
Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
GET /api/v2/enterprise/kevs/CVE-2022-46169
Sample API response{
"cve_id": "CVE-2022-46169",
"confidence": "Confirmed",
"cvss_score": 9.8,
"cvss_estimated": false,
"epss_score": 0.98151,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": true
},
"sensor_telemetry": { "attempts": 128, "sensors": 32 }
}
Timeline
15:31 UTC
Compensating WAF rule available to block exploitation
03:21 UTC
Indicators of compromise recorded
03:21 UTC
Previdian sensors observed exploitation attempts targeting this vulnerability.
00:00 UTC
Exploitation attempts reported by an external source
15:02 UTC
Exploit module available
15:02 UTC
Public proof-of-concept code published
00:00 UTC
Scanner coverage available
00:00 UTC
Listed in the CISA Known Exploited Vulnerabilities catalog
20:48 UTC
Vulnerability disclosed publicly
17:27 UTC
Identifier reserved by the CNA