Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilityinitial-access-method

Blind SQL Injection in Cacti ORDER BY Parameters Affects Authenticated Users

Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Aug 5, 2026

Blind SQL Injection in Cacti ORDER BY Parameters Affects Authenticated Users

A high-severity blind SQL injection vulnerability tracked as CVE-2026-71287 was disclosed in Cacti, where insufficient sanitization in the sanitize_sql_column() function allows attacker-controlled input to reach raw ORDER BY clauses. The flaw affects multiple pages, including user_log.php, utilities.php, user_domains.php, and user_group_admin.php, through the sort_column GET parameter. Because the regex-based allowlist still permits characters needed for SQL time-delay functions, an authenticated user can trigger time-based blind SQL injection against the Cacti database.

The issue was assigned a CVSS 3.1 score of 8.8 and mapped to CWE-89, with exploitation possible by any authenticated Cacti account regardless of privilege level. Activity in the upstream Cacti GitHub repository shows broader security remediation work around SQL injection and ORDER BY parameter sanitization, alongside other hardening changes, indicating the project is actively addressing input-validation weaknesses and related web application security risks in the codebase.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

14 events · Feb 18, 2026 – Aug 5, 2026
  1. Aug 5, 20264mo ago

    Cacti ships multiple August 5 security hardening fixes

    On August 5, 2026, the repository shows several security-related changes, including installer CSRF-token recovery, poller_item cache and Boost RRD staging hardening, support-page CSRF lockout protections, stricter package import signature validation, and refreshed SQL-interpolation baselines. These commits indicate continued remediation and hardening activity after earlier fixes.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  2. Aug 5, 20264mo ago

    CVE-2026-71287 published for Cacti blind SQL injection

    A CVE record was published for CVE-2026-71287, describing a high-severity blind SQL injection in Cacti's sanitize_sql_column() handling of ORDER BY input via sort_column. The record states the issue affects versions 0 through 1.3.0-dev and can be exploited remotely by any authenticated user.

    CVE-2026-71287 - Cacti sanitize_sql_column() Regex Allowlist Permits SQL Time-Delay Functions Leading to Blind SQL Injection
  3. Jul 21, 20264mo ago

    Cacti hardens remote-agent FCRDNS and auth identity

    Cacti committed a hardening fix for remote-agent forward-confirmed reverse DNS checks and basic authentication identity handling in remote_agent.php. The repository history records this as a distinct security event.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  4. Jul 21, 20264mo ago

    Cacti consolidates Semgrep and Psalm taint gate

    Cacti introduced a security-focused CI change consolidating Semgrep and Psalm taint-analysis gating. This reflects a defensive engineering measure to catch security issues earlier in development.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  5. Jul 13, 20264mo ago

    Cacti closes validator migration regressions

    Cacti issued a security fix to close validator migration regressions across numerous files, including automation, graphing, settings, and user_group_admin.php components. The repository history identifies this as a broad remediation event.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  6. Jul 8, 20264mo ago

    Cacti adds rendering hardening guardrails

    Cacti committed a rendering hardening change to enforce changed-file guardrails. The repository history presents this as part of ongoing security engineering work.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  7. Jun 25, 20265mo ago

    Cacti sanitizes ORDER BY parameters on admin pages

    Cacti released a security fix to sanitize ORDER BY sort column and direction on admin list pages, affecting user_domains.php, user_log.php, and utilities.php. This aligns with the later-described blind SQL injection exposure through sort_column handling.

    CVE-2026-71287 - Cacti sanitize_sql_column() Regex Allowlist Permits SQL Time-Delay Functions Leading to Blind SQL Injection
  8. Jun 24, 20265mo ago

    Cacti corrects authentication system bugs

    Cacti committed a fix for authentication system bugs. The repository history lists this as a security-relevant change on the same day as other hardening work.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  9. Jun 24, 20265mo ago

    Cacti hardens CSV encoding and process execution

    Cacti introduced a hardening change for CSV encoding and process execution handling. The repository history marks this as a security-focused maintenance update.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  10. May 13, 20266mo ago

    Cacti fixes SQL injection in cacti endpoint

    Cacti committed a security fix described as SQL injection in a cacti endpoint, affecting at least data_debug.php and reports.php. This indicates remediation of a separate SQL injection issue before the later CVE publication.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  11. Apr 22, 20267mo ago

    Cacti fixes shell escaping issue in spikekill

    Cacti added a security-related fix to escape an RRD path in shell execution in spikekill, along with a default method correction. The repository history records this as a hardening event.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  12. Mar 7, 20269mo ago

    Cacti fixes SSRF and SSL verification in help.php

    Cacti committed a hardening fix for SSRF and SSL verification issues in help.php. The repository history identifies this as a security fix affecting that component.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  13. Mar 6, 20269mo ago

    Cacti fixes HTTPS detection and client address handling

    On March 6, 2026, Cacti changed the API to use get_client_addr() instead of raw REMOTE_ADDR and also unified HTTPS detection with the cacti_is_https() helper. These were security-relevant code changes reflected in the repository history.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
  14. Feb 18, 20269mo ago

    Cacti hardens Docker development environment

    Cacti made a hardening change to its Docker development environment. The repository history lists this security-related fix as a distinct 2026 maintenance event.

    GitHub - Cacti/cacti: Cacti ™ · GitHub
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
CactiCacti

Organizations

1 linked
Cacti
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.