๐Ÿ” CVE Alert

CVE-2026-71287

HIGH 8.8

Cacti sanitize_sql_column() Regex Allowlist Permits SQL Time-Delay Functions Leading to Blind SQL Injection

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

Cacti's sanitize_sql_column() (lib/functions.php) sanitizes user-supplied ORDER BY column names using the regex `preg_replace('/[^a-zA-Z0-9_().]/', '', $column)`. Because this allowlist retains letters, digits, underscore, parentheses, and dot (intended to support expressions like COUNT(id) and table.column), a payload such as `SLEEP(5)` passes through completely unmodified. The sanitized value is concatenated directly into raw SQL ORDER BY clauses (which cannot be parameterized) driven by a `sort_column` GET parameter in at least user_log.php, utilities.php, user_domains.php, and user_group_admin.php, allowing any authenticated Cacti user, regardless of privilege level, to perform time-based blind SQL injection against the Cacti database.

CWE CWE-89
Vendor cacti
Product cacti
Published Aug 5, 2026
Stay Ahead of the Next One

Get instant alerts for cacti cacti

Be the first to know when new high vulnerabilities affecting cacti cacti are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

Cacti / cacti
0 โ‰ค 1.3.0-dev

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/Cacti/cacti github.com: https://github.com/Cacti/cacti/blob/develop/lib/functions.php

Credits

Saidakbarxon Maxsudxonov