Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.3

CVE-2026-39948: Cacti versions 1.2.30 and prior allow SQL injection

CVE-2026-39948
Summary

An attacker can inject malicious SQL code without needing a password, potentially compromising the database and making it unavailable. This issue has been fixed in version 1.2.31, so update to the latest version to protect your system.

What to do

No fix is available yet. Check with your software vendor for updates.

Affected software
VendorProductAffected versions
cacti cacti < 1.2.31
cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*
Original title
Cacti is an open source performance and fault management framework. In versions 1.2.30 and prior, the rfilter request parameter is retrieved via the raw accessor grv() (rather than gfrv() with FILT...
Original description
Cacti is an open source performance and fault management framework. In versions 1.2.30 and prior, the rfilter request parameter is retrieved via the raw accessor grv() (rather than gfrv() with FILTER_VALIDATE_IS_REGEX validation) and concatenated directly into RLIKE SQL clauses in lib/html_graph.php and lib/html_tree.php, which are reachable pre-authentication through graph_view.php on installations with guest graph viewing enabled. Because the unbalanced-quote payload bypasses the regex validation that would otherwise reject it, an unauthenticated attacker can inject arbitrary SQL to compromise the confidentiality, integrity, and availability of the database. This advisory is similar to GHSA-69gg-mjfm-jjpc. This issue has been fixed in version 1.2.31.
nvd CVSS4.0 9.3
Vulnerability type
CWE-89 SQL Injection
Published: 24 Jun 2026 · Updated: 23 Jul 2026 · First seen: 24 Jun 2026