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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-46531— Cacti: Authenticated Stored 2nd-Order SQL Injection in automation_tree_rule_items.field (incomplete-fix variant of CVE-2024-31460 / CVE-2025-24368)

Quick assessment

Affected
Cacti cacti
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Cacti 是一个开源的性能与故障管理框架。在版本 1.2.27 至 1.2.31 之前,Cacti 的自动化树规则项处理器中存在一个经过身份验证的存储型二阶 SQL 注入漏洞。拥有“自动化”领域权限(默认为“常规管理”角色)的用户,可以在 字段中持久化任意 SQL 代码片段。该片段随后会被直接拼接到 文件中 函数内的 子句中,并在管理员通过标准操作 (即“应用自动化规则”批量操作)触发自动化时执行。注入的 语句结果将被写入 字段,并在 Cacti 树界面中渲染,从而形成直接的数据外泄通道。该问题已在版本 1.2.

CVSS 5.5 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
Cacti cacti >= 1.2.27, < 1.2.31 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-46531

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: Authenticated Stored 2nd-Order SQL Injection in automation_tree_rule_items.field (incomplete-fix variant of CVE-2024-31460 / CVE-2025-24368)
Source: CVE Program / CVE List V5
Vulnerability Description
Cacti is an open source performance and fault management framework. From version 1.2.27 to before version 1.2.31, Cacti contains an authenticated stored second-order SQL injection in the automation tree rule item handler. A user holding the Automation realm (default General Administration role) can persist an arbitrary SQL fragment in the automation_tree_rule_items.field column. The fragment is later concatenated directly into a SELECT ... AS source FROM ... clause in lib/api_automation.php :: create_all_header_nodes() and executed when an administrator triggers automation via the standard graphs.php?action=actions&drp_action=8 ("Apply Automation Rules") bulk action. The result of the injected SELECT is written into graph_tree_items.title and rendered in the Cacti tree UI, providing a direct exfiltration channe. This issue has been patched in version 1.2.31.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Cacti cacti >= 1.2.27, < 1.2.31 -

II. Public POCs for CVE-2026-46531

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-46531

请登录查看更多情报信息。

Same Patch Batch · Cacti · 2026-10-23 · 3 CVEs total

CVE-2026-39902 7.2 HIGH Cacti: Authenticated RCE on Data Input
CVE-2026-49442 5.3 MEDIUM Cacti: User Enumeration via Error Messages

IV. Related Vulnerabilities

V. Comments for CVE-2026-46531

No comments yet


Leave a comment