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

Published Aug 5, 2026
·
Updated

Cacti's sanitizesqlcolumn() (lib/functions.php) sanitizes user-supplied ORDER BY column names using the regex pregreplace('/[^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 sortcolumn GET parameter in at least userlog.php, utilities.php, userdomains.php, and usergroupadmin.php, allowing any authenticated Cacti user, regardless of privilege level, to perform time-based blind SQL injection against the Cacti database.

Affected Software

1 affected component
Cacti Cacti

Event History

Aug 5, 2026
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:24 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71287?

The severity of CVE-2026-71287 is high, rated at 8.8 on the CVSS scale.

2

What type of vulnerability is CVE-2026-71287?

CVE-2026-71287 is classified as a SQL Injection vulnerability.

3

How does CVE-2026-71287 affect Cacti?

CVE-2026-71287 allows for the execution of SQL time-delay functions, leading to a blind SQL injection attack.

4

How can I mitigate CVE-2026-71287?

To mitigate CVE-2026-71287, ensure that user-supplied input in ORDER BY clauses is properly validated and sanitized.

5

Is there a patch available for CVE-2026-71287?

Check the official Cacti repository or release notes for any patches addressing CVE-2026-71287.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203