Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-39948— Cacti has SQL Injection via rfilter parameter in RLIKE clauses

AI Predicted 9.8 Difficulty: Easy EPSS 0.50% · P41

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProductVersion RangeStatus
Cacticacti< 1.2.31affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-39948

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cacti has SQL Injection via rfilter parameter in RLIKE clauses
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Cacti SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cacti是Cacti团队开源的一款日志分析与审计软件。 Cacti 1.2.30及之前版本存在SQL注入漏洞,该漏洞源于通过grv()原始访问器检索rfilter请求参数并直接拼接到RLIKE SQL子句中,可能导致未经身份验证的攻击者在启用访客图表查看时注入任意SQL,从而破坏数据库的机密性、完整性和可用性。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
Cacticacti < 1.2.31 -

II. Public POCs for CVE-2026-39948

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39948

登录查看更多情报信息。

Patches & Fixes for CVE-2026-39948 (1)

Vendor Advisories for CVE-2026-39948 (1)

Same Patch Batch · Cacti · 2026-06-24 · 10 CVEs total

CVE-2026-399559.8 CRITICALCacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph
CVE-2026-398939.8 CRITICALCacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php
CVE-2026-399389.8 CRITICALCacti: Unauthenticated RCE on Graph Image
CVE-2026-399517.6 HIGHCacti: Stored SQL Injection via graph_name_regexp in Reports feature
CVE-2026-398942.9 LOWCacti: RRDtool metric shift via LC_NUMERIC locale comma decimal formatting
CVE-2026-39900Cacti: Reflected XSS via tab parameter in auth_profile.php JavaScript context
CVE-2026-39897Cacti has a Reflected XSS Vulnerability via html_auth_footer
CVE-2026-39899Cacti: Path Traversal via filename parameter in package_import.php
CVE-2026-40079Cacti: Command Injection via escape_command() no-op in RRDtool execution

IV. Related Vulnerabilities

V. Comments for CVE-2026-39948

No comments yet


Leave a comment