CVE-2026-39955
Received Received - Intake
Pre-Authentication SQL Injection in Cacti

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: GitHub, Inc.

Description
Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have pre-authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php. This issue has been fixed in version 1.2.31.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-25
AI Q&A
2026-06-25
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
cacti cacti to 1.2.31 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in Cacti, an open source performance and fault management framework. Versions 1.2.30 and earlier have a pre-authentication SQL Injection vulnerability in the graph_view.php file due to an unanchored FILTER_VALIDATE_REGEXP. This means that an attacker can exploit this flaw without needing to authenticate, potentially injecting malicious SQL commands.

Impact Analysis

The vulnerability has a high severity with a CVSS score of 9.8, indicating it can have a critical impact. It allows an attacker to execute arbitrary SQL commands without authentication, which can lead to complete compromise of the database confidentiality, integrity, and availability. This could result in unauthorized data access, data modification, or denial of service.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade Cacti to version 1.2.31 or later, as this version contains the fix for the pre-authentication SQL Injection issue in graph_view.php.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-39955. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart