{"id":"CVE-2026-71287","published":"2026-08-05T13:24:53.453","lastModified":"2026-08-10T12:17:31.367","description":"Cacti's sanitize_sql_column (lib/functions.php) sanitizes user-supplied ORDER BY column names using the regex . Because this allowlist retains letters, digits, underscore, parentheses, and dot (intended to support expressions like COUNT(id) and table.column), a payload such as passes through completely unmodified.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-89"],"vendors":[],"products":[],"references":[{"url":"https://github.com/Cacti/cacti","tags":[]},{"url":"https://github.com/Cacti/cacti/blob/develop/lib/functions.php","tags":[]}],"exploitRefs":[{"url":"https://github.com/Cacti/cacti","tags":[]},{"url":"https://github.com/Cacti/cacti/blob/develop/lib/functions.php","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows SQL injection by not properly sanitizing ORDER BY column names, enabling attackers to execute arbitrary SQL commands.","exploitability":"Exploitation requires user-supplied input in an ORDER BY clause, which may be less common but still feasible with proper conditions.","blast_radius":"If exploited, this could lead to full database compromise, data theft, and potential system takeover.","remediation":"Update Cacti to a version that addresses the sanitization issue or apply custom input validation.","tags":["rce","sql-injection","web","sanitization"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-08-11T06:47:42.516Z"}}