CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-39948

Critical · CVSS 9.8

Cacti — Unauthenticated SQL Injection (RLIKE clause injection via unfiltered request parameter)

CVSS
9.8
nvd
EPSS
KEV
No
Class
other
CWE-89

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.

Search profile — drives PoC discovery

Symbols rfiltergrv()gfrv()FILTER_VALIDATE_IS_REGEXRLIKElib/html_graph.phplib/html_tree.phpgraph_view.php
Keywords CVE-2026-39948CactirfilterSQL injectionRLIKEhtml_graph.phphtml_tree.phpgraph_view.phpunauthenticatedGHSA-9jqv-4cpm-vm2c1.2.30pre-authenticationguest graph viewing
Versions: <= 1.2.30

References

Status: enriched · ingested 2026-06-25T18:00:38.000Z · profiled 2026-07-01T06:30:14.000Z