Skip to content

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

HighCVSS 8.8 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHPUbuntuDebian

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.

Upgrade path

8 packages: 1 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/cacti(Debian 12) = 1.2.24+ds1-1; = 1.2.24+ds1-1+deb12u1; = 1.2.24+ds1-1+deb12u2; = 1.2.24+ds1-1+deb12u3 +19 more No fix listed No fix yet
debian/cacti(Debian 13) = 1.2.30+ds1-1; = 1.2.30+ds1-2; = 1.2.30+ds1-3; = 1.2.31+ds1-1 +4 more No fix listed No fix yet
debian/cacti(Debian 14) = 1.2.30+ds1-1; = 1.2.30+ds1-2; = 1.2.30+ds1-3; = 1.2.31+ds1-1 +4 more No fix listed No fix yet
ubuntu/cacti(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/cacti(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/cacti(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/cacti(Ubuntu 26.10) All versions No fix listed No fix yet
cacti <= 1.3.0-dev after 1.3.0-dev Fixed

Affected products

ProductAffected versionsFixed in
cacti <= 1.3.0-dev No fix listed
debian/cacti(Debian:12) All versions No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u1 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u2 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u3 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u4 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u5 No fix listed
debian/cacti(Debian:12) = 1.2.25+ds1-1 No fix listed
debian/cacti(Debian:12) = 1.2.25+ds1-2 No fix listed
debian/cacti(Debian:12) = 1.2.26+ds1-1 No fix listed
debian/cacti(Debian:12) = 1.2.27+ds1-1 No fix listed
debian/cacti(Debian:12) = 1.2.27+ds1-2 No fix listed
debian/cacti(Debian:12) = 1.2.28+ds1-1 No fix listed
debian/cacti(Debian:12) = 1.2.28+ds1-2 No fix listed
debian/cacti(Debian:12) = 1.2.28+ds1-3 No fix listed
debian/cacti(Debian:12) = 1.2.28+ds1-4 No fix listed
debian/cacti(Debian:12) = 1.2.30+ds1-1 No fix listed
debian/cacti(Debian:12) = 1.2.30+ds1-2 No fix listed
debian/cacti(Debian:12) = 1.2.30+ds1-3 No fix listed
debian/cacti(Debian:12) = 1.2.31+ds1-1 No fix listed
debian/cacti(Debian:12) = 1.2.31+ds1-2 No fix listed
debian/cacti(Debian:12) = 1.2.31+ds1-3 No fix listed
debian/cacti(Debian:12) = 1.2.31+ds1-4 No fix listed
debian/cacti(Debian:13) All versions No fix listed
Show 19 more
ProductAffected versionsFixed in
debian/cacti(Debian:13) = 1.2.30+ds1-1 No fix listed
debian/cacti(Debian:13) = 1.2.30+ds1-2 No fix listed
debian/cacti(Debian:13) = 1.2.30+ds1-3 No fix listed
debian/cacti(Debian:13) = 1.2.31+ds1-1 No fix listed
debian/cacti(Debian:13) = 1.2.31+ds1-2 No fix listed
debian/cacti(Debian:13) = 1.2.31+ds1-3 No fix listed
debian/cacti(Debian:13) = 1.2.31+ds1-4 No fix listed
debian/cacti(Debian:14) All versions No fix listed
debian/cacti(Debian:14) = 1.2.30+ds1-1 No fix listed
debian/cacti(Debian:14) = 1.2.30+ds1-2 No fix listed
debian/cacti(Debian:14) = 1.2.30+ds1-3 No fix listed
debian/cacti(Debian:14) = 1.2.31+ds1-1 No fix listed
debian/cacti(Debian:14) = 1.2.31+ds1-2 No fix listed
debian/cacti(Debian:14) = 1.2.31+ds1-3 No fix listed
debian/cacti(Debian:14) = 1.2.31+ds1-4 No fix listed
ubuntu/cacti(Ubuntu:22.04) All versions No fix listed
ubuntu/cacti(Ubuntu:24.04) All versions No fix listed
ubuntu/cacti(Ubuntu:26.04) All versions No fix listed
ubuntu/cacti(Ubuntu:26.10) All versions No fix listed

References