Cacti 1.2.21 vulnerabilities

67 published vulnerabilities affect Cacti 1.2.21, 1 of them known to be exploited in the wild.

67CVEs
8critical (CVSS 9+)
26high (CVSS 7–8.9)
1exploited in the wild

What to upgrade to

The newest release on the 1.2 line is 1.2.32, with 1 known CVE.

Upgrade toFixesStill openNew in that release
1.2.32newest 1.2 release66 of 671 exploited, 8 critical1CVE-2026-71287none

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting Cacti 1.2.21

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2022-46169Unauthenticated Command Injection9.8Exploited100%1.2.23CVE record
CVE-2023-49085Cacti SQL Injection vulnerability8.8Attack tool public74%1.2.26CVE record
CVE-2025-24367Cacti allows Arbitrary File Creation leading to RCE8.8Attack tool public59%1.2.29CVE record
CVE-2026-39938Cacti: Unauthenticated RCE on Graph Image9.8Proof of concept4%1.2.31CVE record
CVE-2026-40079Cacti: Command Injection via escape_command() no-op in RRDtool execution9.8None known1%1.2.31CVE record
CVE-2026-39955Cacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php9.8None knownunder 1%1.2.31CVE record
CVE-2026-39948Cacti has SQL Injection via rfilter parameter in RLIKE clauses9.8None knownunder 1%1.2.31CVE record
CVE-2026-39893Cacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php9.8None knownunder 1%1.2.31CVE record
CVE-2025-26520Cacti through 1.2.29 allows SQL injection in the template function in host_templates.php via the graph_template parameter9.8None knownunder 1%–CVE record
CVE-2024-34340Authentication Bypass when using using older password hashes9.1Proof of concept1%1.2.27CVE record
CVE-2024-31445SQL Injection vulnerability in automation_get_new_graphs_sql8.8Proof of concept26%1.2.27CVE record
CVE-2023-51448SQL Injection vulnerability when managing SNMP Notification Receivers8.8None known67%1.2.31CVE record
CVE-2025-66399SNMP Command Injection leads to RCE in Cacti8.8Proof of concept11%1.2.29CVE record
CVE-2024-54146Cacti has a SQL Injection vulnerability when view host template8.8None known46%1.2.29CVE record
CVE-2023-39359Authenticated SQL injection vulnerability in graphs.php in Cacti8.8Proof of concept2%1.2.25CVE record
CVE-2023-39358Authenticated SQL injection vulnerability in reports_user.php in Cacti8.8Proof of concept2%1.2.25CVE record
CVE-2024-54145Cacti has a SQL Injection vulnerability when request automation devices8.8Proof of conceptunder 1%1.2.29CVE record
CVE-2024-25641Cacti RCE vulnerability when importing packages7.2Attack tool public86%1.2.27CVE record
CVE-2024-43364Stored Cross-site Scripting (XSS) when creating external links in Cacti8.2Proof of concept38%1.2.28CVE record
CVE-2024-31460Cacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data stored in database8.8None known2%1.2.27CVE record
GHSA-5x85-g4vc-gq53Authenticated SQL injection (stacked queries) via unvalidated profile setting reaching the graph preview LIMIT clause — any "Normal User" can become administrator8.8None known–1.2.32
CVE-2026-71287Cacti sanitize_sql_column() Regex Allowlist Permits SQL Time-Delay Functions Leading to Blind SQL Injection8.8None knownunder 1%–CVE record
CVE-2026-39951Cacti: Stored SQL Injection via graph_name_regexp in Reports feature8.8None knownunder 1%1.2.31CVE record
CVE-2023-39362Authenticated command injection in SNMP options of a Device7.2Proof of concept85%1.2.25CVE record
CVE-2023-31132Cacti Privilege Escalation7.8Proof of conceptunder 1%1.2.25CVE record
CVE-2024-43363Remote code execution via Log Poisoning in Cacti7.2Proof of concept36%1.2.28CVE record
CVE-2024-31458Cacti SQL Injection vulnerability in lib/html_form_templates.php by reading dirty data stored in database8.0None known13%1.2.27CVE record
CVE-2025-24368Cacti has a SQL Injection vulnerability when using tree rules through Automation API7.5Proof of conceptunder 1%1.2.29CVE record
CVE-2026-40083Cacti: SQL Injection in managers.php7.2Proof of conceptunder 1%1.2.31CVE record
CVE-2025-22604Cacti has Authenticated RCE via multi-line SNMP responses7.2Proof of concept5%1.2.29vendor advisory
CVE-2024-31459Cacti RCE vulnerability by file include in lib/plugin.php7.2Proof of concept3%1.2.27CVE record
CVE-2026-39949Authenticated Remote Code Execution via Host Variable Injection7.2None known–1.2.31
CVE-2026-39902Cacti: Authenticated RCE on Data Input7.2None knownunder 1%1.2.31CVE record
CVE-2026-40081Reports IDOR — Any Authenticated User Can Modify Other Users' Reports (CWE-639)7.1None known–1.2.31
CVE-2026-40084Cacti: Arbitrary File Read via Path Traversal in Report `format_file` Parameter6.5Proof of conceptunder 1%1.2.31CVE record
CVE-2026-40080Cacti: Open Redirect via HTTP_REFERER substring check in auth_login_redirect6.1Proof of conceptunder 1%1.2.31CVE record
CVE-2022-41444Cross Site Scripting (XSS) vulnerability in Cacti 1.2.21 via crafted POST request to graphs_new.php6.1Proof of conceptunder 1%–NVD
CVE-2026-40078Backend `ORDER BY` SQL Injection6.5None known–1.2.31
CVE-2026-40941Cacti: Package Import Signature Validation Bypass Allows Self-Signed Packages6.5None knownunder 1%1.2.31CVE record
CVE-2024-43362Stored Cross-site Scripting (XSS) when creating external links in Cacti5.4Proof of concept39%1.2.28CVE record
CVE-2023-39365Unchecked regular expressions can lead to SQL Injection and data leakage in Cacti6.3None knownunder 1%1.2.25CVE record
CVE-2026-39900Cacti: Reflected XSS via tab parameter in auth_profile.php JavaScript context6.1None knownunder 1%1.2.31CVE record
CVE-2026-39897Cacti has a Reflected XSS Vulnerability via html_auth_footer6.1None knownunder 1%1.2.31CVE record
CVE-2023-50250Cross-Site Scripting vulnerability when Import xml template file6.1None known1%1.2.27CVE record
CVE-2026-22802Authentication Bypass leads to information disclosure5.9None known–1.2.31
CVE-2024-27082Cacti Cross-site Scripting vulnerability when managing trees5.4Proof of conceptunder 1%1.2.27CVE record
CVE-2023-39514Stored Cross-site Scripting on graphs.php data template formated name view in Cacti5.4Proof of conceptunder 1%1.2.25CVE record
CVE-2023-39513Stored Cross-site Scripting on host.php verbose data-query debug view in Cacti5.4Proof of conceptunder 1%1.2.25CVE record
CVE-2026-49442Cacti: User Enumeration via Error Messages5.3Proof of conceptunder 1%1.2.31CVE record
CVE-2024-31444Cacti XSS vulnerability in lib/html.php by reading dirty data stored in database5.4None known15%1.2.27CVE record
CVE-2026-46530Cacti vulnerable to stored XSS in graph preset names leading to privilege escalation5.4None known–1.2.31
CVE-2026-40082Cacti: Session Fixation via missing session_regenerate_id() after login5.4None knownunder 1%1.2.31CVE record
CVE-2024-31443Cacti XSS vulnerability in lib/html_tree.php by reading dirty data stored in database5.4None knownunder 1%1.2.27CVE record
CVE-2023-49088Cacti has incomplete fix for CVE-2023-395154.8Proof of concept1%–CVE record
CVE-2023-39364Open redirect in change password functionality in Cacti5.4None knownunder 1%1.2.25CVE record
CVE-2026-39899Cacti: Path Traversal via filename parameter in package_import.php5.3None knownunder 1%1.2.31CVE record
CVE-2023-39511Stored Cross-Site-Scripting on reports_admin.php device name in Cacti4.8Proof of conceptunder 1%1.2.25CVE record
CVE-2023-39516Stored Cross-Site-Scripting on data_sources.php debug html-block in Cacti4.8Proof of conceptunder 1%1.2.25CVE record
CVE-2023-39515Stored Cross-site Scripting on data_debug.php datasource path view in Cacti4.8Proof of conceptunder 1%1.2.25CVE record
CVE-2023-39512Stored Cross-site Scripting on data_sources.php device name view in Cacti4.8Proof of conceptunder 1%1.2.25CVE record
CVE-2023-39510Stored Cross-site Scripting in reports_admin.php through Device-Name in 'select' input in Cacti4.8Proof of conceptunder 1%1.2.25CVE record
CVE-2023-39366Stored Cross-site Scripting in data_sources.php through Device-Name in 'select' input in Cacti4.8Proof of conceptunder 1%1.2.25CVE record
CVE-2024-45598Cacti has a Local File Inclusion (LFI) Vulnerability via Poller Standard Error Log Path4.9None known3%1.2.29CVE record
CVE-2023-30534Insecure Deserialization in Cacti4.3Proof of concept3%1.2.25CVE record
CVE-2024-29894Cacti Cross-site Scripting vulnerability when using JavaScript based messaging API4.7None knownunder 1%1.2.27CVE record
CVE-2026-44481Cacti 1.2.x: Pre-auth Open Redirect via link.php Referer header (CWE-601)4.3None known–1.2.31
CVE-2026-39894Cacti: RRDtool metric shift via LC_NUMERIC locale comma decimal formatting2.5None knownunder 1%1.2.31CVE record

Compared with 1.2.20

1 CVE affects 1.2.21 and not 1.2.20: CVE-2022-41444.

Other Cacti 1.2 releases

1.2.321 1.2.313 1.2.3031 1.2.2932 1.2.2838 1.2.2742 1.2.2650 1.2.2554 1.2.2468 1.2.2365 1.2.2266 1.2.2066 1.2.1968 1.2.1866

All Cacti versions

How this list is made

These are the CVEs Dawnsentry matches to each Cacti version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.