Skip to main content
VulnerabilityPublished Updated

CVE-2026-71287: Cacti's sanitize_sql_column (lib/functions.php) sanitizes user-supplied ORDER BY column names using the regex

Affects cactiSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.8 High.

Data as of 3 Nov 2026, 22:58 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10cactipkg:deb/ubuntu/cacti?arch=source&distro=stonkingOther threatsAffected
  • =1.2.30+ds1-1ubuntu2
  • =1.2.30+ds1-1ubuntu3
  • =1.2.31+ds1-3ubuntu2
Fixed in–
Ubuntu 26.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=resoluteOther threatsAffected
  • =1.2.30+ds1-1ubuntu1
  • =1.2.30+ds1-1ubuntu2
Fixed in–
Ubuntu 24.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=nobleOther threatsAffected
  • =1.2.25+ds1-2
  • =1.2.26+ds1-1
  • =1.2.26+ds1-1ubuntu0.1
Fixed in–
Ubuntu Pro 22.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 1.2.16+ds1-2ubuntu1 – 1.2.19+ds1-2ubuntu1+esm1
6 affected builds
Fixed in–
Ubuntu Pro 20.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=esm-apps/focalOther threatsAffected
  • 1.2.4+ds1-2ubuntu3 – 1.2.10+ds1-1ubuntu1+esm1
8 affected builds
Fixed in–
Ubuntu Pro 18.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 1.1.18+ds1-1 – 1.1.38+ds1-1ubuntu0.1~esm4
10 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, restrict access to authenticated users and monitor for suspicious activity related to the sort_column parameter. Avoid using vulnerable versions listed until an official fix is released.

Description

Cacti's sanitize_sql_column() function improperly sanitizes user input for ORDER BY column names, allowing time-based blind SQL injection via the sort_column GET parameter. The sanitization regex permits characters that enable payloads such as SLEEP(5) to bypass filtering. This vulnerability affects multiple PHP files and can be exploited by any authenticated user regardless of privilege level. The CVSS score is 8.8, indicating high severity.

References

Community reviews

Loading reviews…