CVE-2026-39948

published 24 Jun 2026 · updated 26 Jun 2026

Cacti has SQL Injection via rfilter parameter in RLIKE clauses

9.3CriticalCVSS 9.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
CactiCacti<1.2.31

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Cacti, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-39948 severity on Zeptric[![CVE-2026-39948](https://zeptric.io/badge/cve/CVE-2026-39948.svg)](https://zeptric.io/cve/CVE-2026-39948)