CVE 9.3 CRITICAL

Cacti has SQL Injection via rfilter parameter in RLIKE clauses_CVE-2026-39948

9.3 / 10
CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

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.

AI Analysis

SQL Injection vulnerability via rfilter parameter in RLIKE clauses, allowing an unauthenticated attacker to inject arbitrary SQL and compromise database confidentiality, integrity, and availability.

Basic Information

ID CVE-2026-39948
Source GitHub_M
Published Jun 24, 2026 at 23:06

Affected Product

Vendor Cacti
Product cacti
Version < 1.2.31
Affected Versions Cacti cacti < 1.2.31

CWE Classification

AI Assessment

AI Score 9.3 / 10
AI Severity Critical
Vendor Cacti
Product Cacti
Version < 1.2.31

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.