SQL Injection Vulnerability in Cacti Package: CVE-2026-71287

cacti Updated 13 Aug 2026

Summary

05/08/2026
N/A
No i
High
8.8

DEBIAN-CVE-2026-71287: Cacti's sanitize_sql_column (lib/functions.php) sanitizes user-supplied ORDER BY column names using the regex . Affects cacti versions 1.2.16+ds1-2 – 1.2.31+ds1-2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Cacti is an open-source network monitoring and graphing tool designed to harness the power of RRDTool's data logging and graphing functionality. It provides a web-based interface for managing network data and visualizing it through graphs. The tool is widely used for monitoring network traffic and performance metrics. However, it is susceptible to a SQL injection vulnerability that can compromise the integrity of the database and expose sensitive information.

Vulnerability Detail

The vulnerability identified as CVE-2026-71287 arises from the improper sanitization of user-supplied ORDER BY column names in the sanitize_sql_column function located in lib/functions.php. The regex allowlist used for sanitization permits letters, digits, underscores, parentheses, and dots, which can be exploited by attackers to inject malicious SQL code. This flaw can lead to unauthorized access to the database, data manipulation, and potential data breaches, making it critical for users to address this issue promptly.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can restrict access to the Cacti application to trusted IP addresses only, thereby limiting the exposure to potential attacks. Additionally, consider implementing web application firewalls (WAF) to filter out malicious requests.

Conclusion

CVE-2026-71287 represents a significant security risk for users of the Cacti package due to its SQL injection vulnerability. It is crucial for users to update their installations to the latest patched version and consider implementing additional security measures to protect their systems.

See every vulnerability recorded for cacti →

Share this vulnerability

FAQ

CVE-2026-71287 is a SQL injection vulnerability in the Cacti package that allows attackers to manipulate SQL queries through unsanitized user input.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

The vulnerability can lead to unauthorized database access, data manipulation, and potential data breaches, compromising sensitive information.

Yes, users should update their Cacti package to the latest version that addresses CVE-2026-71287 to mitigate the risk.

The CVSS score for CVE-2026-71287 is 8.8, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for cacti.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback