Cacti 0.8.7b vulnerabilities
122 published vulnerabilities affect Cacti 0.8.7b, 1 of them known to be exploited in the wild.
What to upgrade to
The newest release on the 0.8 line is 0.8.8g, with 95 known CVEs. The newest Cacti release we know of is 1.2.32, with 1 known CVE.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 0.8.8gnewest 0.8 release | 27 of 1221 critical | 95CVE-2022-46169, CVE-2023-49085, CVE-2025-24367 and 92 more | none |
| 1.2.32newest release | 121 of 1221 exploited, 10 critical | 1CVE-2026-71287 | none |
"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 0.8.7b
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.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2022-46169Unauthenticated Command Injection | 9.8 | Exploited | 100% | 1.2.23CVE record |
| CVE-2023-49085Cacti SQL Injection vulnerability | 8.8 | Attack tool public | 74% | 1.2.26CVE record |
| CVE-2025-24367Cacti allows Arbitrary File Creation leading to RCE | 8.8 | Attack tool public | 59% | 1.2.29CVE record |
| CVE-2026-39938Cacti: Unauthenticated RCE on Graph Image | 9.8 | Proof of concept | 4% | 1.2.31CVE record |
| CVE-2026-40079Cacti: Command Injection via escape_command() no-op in RRDtool execution | 9.8 | None known | 1% | 1.2.31CVE record |
| CVE-2017-12065spikekill.php in Cacti before 1.1.16 might allow remote attackers to execute arbitrary code via the avgnan, outlier-start, or outlier-end parameter | 9.8 | None known | 3% | –NVD |
| CVE-2026-39955Cacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php | 9.8 | None known | under 1% | 1.2.31CVE record |
| CVE-2026-39948Cacti has SQL Injection via rfilter parameter in RLIKE clauses | 9.8 | None known | under 1% | 1.2.31CVE record |
| CVE-2026-39893Cacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php | 9.8 | None known | under 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 parameter | 9.8 | None known | under 1% | –CVE record |
| CVE-2024-34340Authentication Bypass when using using older password hashes | 9.1 | Proof of concept | 1% | 1.2.27CVE record |
| CVE-2024-31445SQL Injection vulnerability in automation_get_new_graphs_sql | 8.8 | Proof of concept | 26% | 1.2.27CVE record |
| CVE-2023-51448SQL Injection vulnerability when managing SNMP Notification Receivers | 8.8 | None known | 67% | 1.2.31CVE record |
| CVE-2025-66399SNMP Command Injection leads to RCE in Cacti | 8.8 | Proof of concept | 11% | 1.2.29CVE record |
| CVE-2024-54146Cacti has a SQL Injection vulnerability when view host template | 8.8 | None known | 46% | 1.2.29CVE record |
| CVE-2023-39359Authenticated SQL injection vulnerability in graphs.php in Cacti | 8.8 | Proof of concept | 2% | 1.2.25CVE record |
| CVE-2023-39358Authenticated SQL injection vulnerability in reports_user.php in Cacti | 8.8 | Proof of concept | 2% | 1.2.25CVE record |
| CVE-2024-54145Cacti has a SQL Injection vulnerability when request automation devices | 8.8 | Proof of concept | under 1% | 1.2.29CVE record |
| CVE-2024-25641Cacti RCE vulnerability when importing packages | 7.2 | Attack tool public | 86% | 1.2.27CVE record |
| CVE-2020-14295XSS and SQL Injection vulnerabilities | 7.2 | Attack tool public | 86% | 1.2.13 |
| CVE-2024-43364Stored Cross-site Scripting (XSS) when creating external links in Cacti | 8.2 | Proof of concept | 38% | 1.2.28CVE record |
| CVE-2009-4112Cacti 0.8.7e and earlier allows remote authenticated administrators to gain privileges by modifying the "Data Input Method" for the "Linux - Get Memory Usage"… | 9.0 | None known | 11% | –NVD |
| CVE-2024-31460Cacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data stored in database | 8.8 | None known | 2% | 1.2.27CVE record |
| CVE-2016-10700auth_login.php in Cacti before 1.0.0 allows remote authenticated users who use web authentication to bypass intended access restrictions by logging in as a… | 8.8 | None known | 2% | 1.0.0NVD |
| CVE-2014-4000Cacti before 1.0.0 allows remote authenticated users to conduct PHP object injection attacks and execute arbitrary PHP code via a crafted serialized object… | 8.8 | None known | 2% | 1.0.0NVD |
| CVE-2016-2313auth_login.php in Cacti before 0.8.8g allows remote authenticated users who use web authentication to bypass intended access restrictions by logging in as a… | 8.8 | None known | 3% | –NVD |
| CVE-2016-3172SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remote authenticated users to execute arbitrary SQL commands via the parent_id… | 8.8 | None known | 3% | –NVD |
| CVE-2016-3659SQL injection vulnerability in graph_view.php in Cacti 0.8.8.g allows remote authenticated users to execute arbitrary SQL commands via the host_group_data… | 8.8 | None known | 2% | –NVD |
| CVE-2015-8604SQL injection vulnerability in the host_new_graphs function in graphs_new.php in Cacti 0.8.8f and earlier allows remote authenticated users to execute… | 8.8 | None known | 2% | –NVD |
| GHSA-5x85-g4vc-gq53Authenticated SQL injection (stacked queries) via unvalidated profile setting reaching the graph preview LIMIT clause — any "Normal User" can become administrator | 8.8 | None known | – | 1.2.32 |
| CVE-2026-71287Cacti sanitize_sql_column() Regex Allowlist Permits SQL Time-Delay Functions Leading to Blind SQL Injection | 8.8 | None known | under 1% | –CVE record |
| CVE-2026-39951Cacti: Stored SQL Injection via graph_name_regexp in Reports feature | 8.8 | None known | under 1% | 1.2.31CVE record |
| CVE-2023-39362Authenticated command injection in SNMP options of a Device | 7.2 | Proof of concept | 85% | 1.2.25CVE record |
| CVE-2023-31132Cacti Privilege Escalation | 7.8 | Proof of concept | under 1% | 1.2.25CVE record |
| CVE-2024-43363Remote code execution via Log Poisoning in Cacti | 7.2 | Proof of concept | 36% | 1.2.28CVE record |
| CVE-2024-31458Cacti SQL Injection vulnerability in lib/html_form_templates.php by reading dirty data stored in database | 8.0 | None known | 13% | 1.2.27CVE record |
| CVE-2019-17358Cacti through 1.2.7 is affected by multiple instances of lib/functions.php unsafe deserialization of user-controlled data to populate arrays | 8.1 | None known | 3% | –NVD |
| CVE-2025-24368Cacti has a SQL Injection vulnerability when using tree rules through Automation API | 7.5 | Proof of concept | under 1% | 1.2.29CVE record |
| CVE-2023-37543Cacti before 1.2.6 allows IDOR (Insecure Direct Object Reference) for accessing any graph via a modified local_graph_id parameter to graph_xport.php | 7.5 | Proof of concept | under 1% | 1.2.6NVD |
| CVE-2026-40083Cacti: SQL Injection in managers.php | 7.2 | Proof of concept | under 1% | 1.2.31CVE record |
| CVE-2025-22604Cacti has Authenticated RCE via multi-line SNMP responses | 7.2 | Proof of concept | 5% | 1.2.29vendor advisory |
| CVE-2024-31459Cacti RCE vulnerability by file include in lib/plugin.php | 7.2 | Proof of concept | 3% | 1.2.27CVE record |
| CVE-2014-5261The graph settings script (graph_settings.php) in Cacti 0.8.8b and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in a… | 7.5 | None known | 11% | 0.8.8bNVD |
| CVE-2014-2709lib/rrd.php in Cacti 0.8.7g, 0.8.8b, and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in unspecified parameters | 7.5 | None known | 5% | –NVD |
| CVE-2015-8369SQL injection vulnerability in include/top_graph_header.php in Cacti 0.8.8f and earlier allows remote attackers to execute arbitrary SQL commands via the… | 7.5 | None known | 2% | –NVD |
| CVE-2015-4634SQL injection vulnerability in graphs.php in Cacti before 0.8.8e allows remote attackers to execute arbitrary SQL commands via the local_graph_id parameter | 7.5 | None known | 2% | –NVD |
| CVE-2015-4454SQL injection vulnerability in the get_hash_graph_template function in lib/functions.php in Cacti before 0.8.8d allows remote attackers to execute arbitrary… | 7.5 | None known | 2% | –NVD |
| CVE-2015-4342SQL injection vulnerability in Cacti before 0.8.8d allows remote attackers to execute arbitrary SQL commands via unspecified vectors involving a cdef id | 7.5 | None known | 3% | –NVD |
| CVE-2014-5262SQL injection vulnerability in the graph settings script (graph_settings.php) in Cacti 0.8.8b and earlier allows remote attackers to execute arbitrary SQL… | 7.5 | None known | 2% | 0.8.8bNVD |
| CVE-2013-5589SQL injection vulnerability in cacti/host.php in Cacti 0.8.8b and earlier allows remote attackers to execute arbitrary SQL commands via the id parameter | 7.5 | None known | 2% | 0.8.8bNVD |
| CVE-2013-1435(1) snmp.php and (2) rrd.php in Cacti before 0.8.8b allows remote attackers to execute arbitrary commands via shell metacharacters in unspecified vectors | 7.5 | None known | 2% | 0.8.8bNVD |
| CVE-2013-1434Multiple SQL injection vulnerabilities in (1) api_poller.php and (2) utility.php in Cacti before 0.8.8b allow remote attackers to execute arbitrary SQL… | 7.5 | None known | 2% | –NVD |
| CVE-2011-4824SQL injection vulnerability in auth_login.php in Cacti before 0.8.7h allows remote attackers to execute arbitrary SQL commands via the login_username parameter | 7.5 | None known | 2% | –NVD |
| CVE-2010-2092SQL injection vulnerability in graph.php in Cacti 0.8.7e and earlier allows remote attackers to execute arbitrary SQL commands via a crafted rra_id parameter… | 7.5 | None known | 1% | 0.8.7eNVD |
| CVE-2010-1431SQL injection vulnerability in templates_export.php in Cacti 0.8.7e and earlier allows remote attackers to execute arbitrary SQL commands via the… | 7.5 | None known | 4% | 0.8.7eNVD |
| CVE-2008-0785Multiple SQL injection vulnerabilities in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k allow remote authenticated users to execute arbitrary SQL commands… | 7.5 | None known | 3% | –NVD |
| CVE-2026-39949Authenticated Remote Code Execution via Host Variable Injection | 7.2 | None known | – | 1.2.31 |
| CVE-2026-39902Cacti: Authenticated RCE on Data Input | 7.2 | None known | under 1% | 1.2.31CVE record |
| CVE-2026-40081Reports IDOR — Any Authenticated User Can Modify Other Users' Reports (CWE-639) | 7.1 | None known | – | 1.2.31 |
| CVE-2026-40084Cacti: Arbitrary File Read via Path Traversal in Report `format_file` Parameter | 6.5 | Proof of concept | under 1% | 1.2.31CVE record |
| CVE-2019-17357Cacti through 1.2.7 is affected by a graphs.php?template_id= SQL injection vulnerability affecting how template identifiers are handled when a string and id… | 6.5 | None known | 34% | –NVD |
| CVE-2014-2327Cross-site request forgery (CSRF) vulnerability in Cacti 0.8.7g, 0.8.8b, and earlier allows remote attackers to hijack the authentication of users for… | 6.8 | None known | 2% | –NVD |
| CVE-2026-40080Cacti: Open Redirect via HTTP_REFERER substring check in auth_login_redirect | 6.1 | Proof of concept | under 1% | 1.2.31CVE record |
| CVE-2022-48547A reflected cross-site scripting (XSS) vulnerability in Cacti 0.8.7g and earlier allows unauthenticated remote attackers to inject arbitrary web script or HTML… | 6.1 | Proof of concept | under 1% | –NVD |
| CVE-2026-40078Backend `ORDER BY` SQL Injection | 6.5 | None known | – | 1.2.31 |
| CVE-2026-40941Cacti: Package Import Signature Validation Bypass Allows Self-Signed Packages | 6.5 | None known | under 1% | 1.2.31CVE record |
| CVE-2020-13231In Cacti before 1.2.11, auth_profile.php?action=edit allows CSRF for an admin email change | 6.5 | None known | under 1% | 1.2.11NVD |
| CVE-2015-8377SQL injection vulnerability in the host_new_graphs_save function in graphs_new.php in Cacti 0.8.8f and earlier allows remote authenticated users to execute… | 6.5 | None known | 2% | –NVD |
| CVE-2014-2328lib/graph_export.php in Cacti 0.8.7g, 0.8.8b, and earlier allows remote authenticated users to execute arbitrary commands via shell metacharacters in… | 6.5 | None known | 4% | –NVD |
| CVE-2010-1645Cacti before 0.8.7f, as used in Red Hat High Performance Computing (HPC) Solution and other products, allows remote authenticated administrators to execute… | 6.5 | None known | 3% | –NVD |
| CVE-2024-43362Stored Cross-site Scripting (XSS) when creating external links in Cacti | 5.4 | Proof of concept | 39% | 1.2.28CVE record |
| CVE-2023-39365Unchecked regular expressions can lead to SQL Injection and data leakage in Cacti | 6.3 | None known | under 1% | 1.2.25CVE record |
| CVE-2026-39900Cacti: Reflected XSS via tab parameter in auth_profile.php JavaScript context | 6.1 | None known | under 1% | 1.2.31CVE record |
| CVE-2026-39897Cacti has a Reflected XSS Vulnerability via html_auth_footer | 6.1 | None known | under 1% | 1.2.31CVE record |
| CVE-2023-50250Cross-Site Scripting vulnerability when Import xml template file | 6.1 | None known | 1% | 1.2.27CVE record |
| CVE-2020-14424Cacti before 1.2.18 allows remote attackers to trigger XSS via template import for the midwinter theme | 6.1 | None known | 1% | 1.2.18NVD |
| CVE-2020-7106Cacti 1.2.8 has stored XSS in data_sources.php, color_templates_item.php, graphs.php, graph_items.php, lib/api_automation.php, user_admin.php, and… | 6.1 | None known | 2% | 1.2.9NVD |
| CVE-2026-22802Authentication Bypass leads to information disclosure | 5.9 | None known | – | 1.2.31 |
| CVE-2024-27082Cacti Cross-site Scripting vulnerability when managing trees | 5.4 | Proof of concept | under 1% | 1.2.27CVE record |
| CVE-2023-39514Stored Cross-site Scripting on graphs.php data template formated name view in Cacti | 5.4 | Proof of concept | under 1% | 1.2.25CVE record |
| CVE-2023-39513Stored Cross-site Scripting on host.php verbose data-query debug view in Cacti | 5.4 | Proof of concept | under 1% | 1.2.25CVE record |
| CVE-2026-49442Cacti: User Enumeration via Error Messages | 5.3 | Proof of concept | under 1% | 1.2.31CVE record |
| CVE-2024-31444Cacti XSS vulnerability in lib/html.php by reading dirty data stored in database | 5.4 | None known | 15% | 1.2.27CVE record |
| CVE-2026-46530Cacti vulnerable to stored XSS in graph preset names leading to privilege escalation | 5.4 | None known | – | 1.2.31 |
| CVE-2026-40082Cacti: Session Fixation via missing session_regenerate_id() after login | 5.4 | None known | under 1% | 1.2.31CVE record |
| CVE-2024-31443Cacti XSS vulnerability in lib/html_tree.php by reading dirty data stored in database | 5.4 | None known | under 1% | 1.2.27CVE record |
| CVE-2023-49088Cacti has incomplete fix for CVE-2023-39515 | 4.8 | Proof of concept | 1% | –CVE record |
| CVE-2023-39364Open redirect in change password functionality in Cacti | 5.4 | None known | under 1% | 1.2.25CVE record |
| CVE-2019-11025In clearFilter() in utilities.php in Cacti before 1.2.3, no escaping occurs before printing out the value of the SNMP community string (SNMP Options) in the… | 5.4 | None known | 1% | 1.2.3NVD |
| CVE-2018-20726A cross-site scripting (XSS) vulnerability exists in host.php (via tree.php) in Cacti before 1.2.0 due to lack of escaping of unintended characters in the… | 5.4 | None known | 1% | 1.2.0NVD |
| CVE-2018-10061Cacti before 1.1.37 has XSS because it makes certain htmlspecialchars calls without the ENT_QUOTES flag (these calls occur when the html_escape function in… | 5.4 | None known | 1% | –NVD |
| CVE-2018-10060Cacti before 1.1.37 has XSS because it does not properly reject unintended characters, related to use of the sanitize_uri function in lib/functions.php | 5.4 | None known | 1% | –NVD |
| CVE-2018-10059Cacti before 1.1.37 has XSS because the get_current_page function in lib/functions.php relies on $_SERVER['PHP_SELF'] instead of $_SERVER['SCRIPT_NAME'] to… | 5.4 | None known | 1% | –NVD |
| CVE-2017-12978lib/html.php in Cacti before 1.1.18 has XSS via the title field of an external link added by an authenticated user | 5.4 | None known | under 1% | –NVD |
| CVE-2017-12066Cross-site scripting (XSS) vulnerability in aggregate_graphs.php in Cacti before 1.1.16 allows remote authenticated users to inject arbitrary web script or… | 5.4 | None known | 1% | –NVD |
| CVE-2026-39899Cacti: Path Traversal via filename parameter in package_import.php | 5.3 | None known | under 1% | 1.2.31CVE record |
| CVE-2023-39511Stored Cross-Site-Scripting on reports_admin.php device name in Cacti | 4.8 | Proof of concept | under 1% | 1.2.25CVE record |
| CVE-2023-39516Stored Cross-Site-Scripting on data_sources.php debug html-block in Cacti | 4.8 | Proof of concept | under 1% | 1.2.25CVE record |
| CVE-2023-39515Stored Cross-site Scripting on data_debug.php datasource path view in Cacti | 4.8 | Proof of concept | under 1% | 1.2.25CVE record |
| CVE-2023-39512Stored Cross-site Scripting on data_sources.php device name view in Cacti | 4.8 | Proof of concept | under 1% | 1.2.25CVE record |
| CVE-2023-39510Stored Cross-site Scripting in reports_admin.php through Device-Name in 'select' input in Cacti | 4.8 | Proof of concept | under 1% | 1.2.25CVE record |
| CVE-2023-39366Stored Cross-site Scripting in data_sources.php through Device-Name in 'select' input in Cacti | 4.8 | Proof of concept | under 1% | 1.2.25CVE record |
| CVE-2008-0784graph.php in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k allows remote attackers to obtain the full path via an invalid local_graph_id parameter and… | 5.0 | None known | 2% | –NVD |
| CVE-2024-45598Cacti has a Local File Inclusion (LFI) Vulnerability via Poller Standard Error Log Path | 4.9 | None known | 3% | 1.2.29CVE record |
| CVE-2023-30534Insecure Deserialization in Cacti | 4.3 | Proof of concept | 3% | 1.2.25CVE record |
| CVE-2018-20725A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Graph… | 4.8 | None known | 1% | 1.2.0NVD |
| CVE-2018-20724A cross-site scripting (XSS) vulnerability exists in pollers.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Website Hostname… | 4.8 | None known | 1% | 1.2.0NVD |
| CVE-2018-20723A cross-site scripting (XSS) vulnerability exists in color_templates.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Name… | 4.8 | None known | 1% | 1.2.0NVD |
| CVE-2024-29894Cacti Cross-site Scripting vulnerability when using JavaScript based messaging API | 4.7 | None known | under 1% | 1.2.27CVE record |
| CVE-2019-16723In Cacti through 1.2.6, authenticated users may bypass authorization checks (for viewing a graph) via a direct graph_json.php request with a modified… | 4.3 | None known | 1% | –NVD |
| CVE-2015-2967Cross-site scripting (XSS) vulnerability in settings.php in Cacti before 0.8.8d allows remote attackers to inject arbitrary web script or HTML via unspecified… | 4.3 | None known | 2% | –NVD |
| CVE-2015-2665Cross-site scripting (XSS) vulnerability in Cacti before 0.8.8d allows remote attackers to inject arbitrary web script or HTML via unspecified vectors | 4.3 | None known | 2% | –NVD |
| CVE-2013-5588Multiple cross-site scripting (XSS) vulnerabilities in Cacti 0.8.8b and earlier allow remote attackers to inject arbitrary web script or HTML via (1) the step… | 4.3 | None known | 1% | 0.8.8bNVD |
| CVE-2011-5223Cross-site request forgery (CSRF) vulnerability in logout.php in Cacti before 0.8.7i allows remote attackers to hijack the authentication of unspecified… | 4.3 | None known | 2% | –NVD |
| CVE-2010-2545Multiple cross-site scripting (XSS) vulnerabilities in Cacti before 0.8.7g, as used in Red Hat High Performance Computing (HPC) Solution and other products… | 4.3 | None known | 2% | –NVD |
| CVE-2010-2544Cross-site scripting (XSS) vulnerability in utilities.php in Cacti before 0.8.7g, as used in Red Hat High Performance Computing (HPC) Solution and other… | 4.3 | None known | 4% | –NVD |
| CVE-2010-2543Cross-site scripting (XSS) vulnerability in include/top_graph_header.php in Cacti before 0.8.7g allows remote attackers to inject arbitrary web script or HTML… | 4.3 | None known | 4% | –NVD |
| CVE-2010-1644Multiple cross-site scripting (XSS) vulnerabilities in Cacti before 0.8.7f, as used in Red Hat High Performance Computing (HPC) Solution and other products… | 4.3 | None known | 2% | –NVD |
| CVE-2008-0786CRLF injection vulnerability in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k, when running on older PHP interpreters, allows remote attackers to inject… | 4.3 | None known | 2% | –NVD |
| CVE-2008-0783Multiple cross-site scripting (XSS) vulnerabilities in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k allow remote attackers to inject arbitrary web script… | 4.3 | None known | 5% | –NVD |
| CVE-2020-13230In Cacti before 1.2.11, disabling a user account does not immediately invalidate any permissions granted to that account (e.g., permission to view logs) | 4.3 | None known | 1% | 1.2.11NVD |
| CVE-2026-39894Cacti: RRDtool metric shift via LC_NUMERIC locale comma decimal formatting | 2.5 | None known | under 1% | 1.2.31CVE record |
Other Cacti 0.8 releases
0.8.8g95 0.8.8f99 0.8.8d100 0.8.8c104 0.8.8b113 0.8.8a107 0.8.8107 0.8.7i118 0.8.7h118 0.8.7g124 0.8.7f122 0.8.7e123 0.8.7d122 0.8.7c122
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.