CVE Tools

CVE-2026-39955

Cacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php

Published: Jun 24, 2026Updated: Jun 26, 2026 Sources: CVE List NVDCWE-89

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.

In plain language

AI Worth attention

Cacti (up to 1.2.30) has a serious database vulnerability that can be triggered over the network without logging in, so a typical small business using it should update to 1.2.31 or later as soon as possible.

Executive summary

CVE-2026-39955 is a pre-authentication SQL injection in Cacti’s graph_view.php (caused by an unanchored FILTER_VALIDATE_REGEXP), allowing attackers to execute unauthorized SQL over the network without any login.

If affected, business impact
Full database compromiseData theft or data tamperingService downtimePotential malware persistence

What to do now

  1. Check your Cacti version and confirm whether you are running Cacti 1.2.30 or earlier.
  2. If you are affected, upgrade Cacti to 1.2.31 (or later).
  3. After upgrading, review Cacti and web server logs for suspicious requests targeting graph_view.php.
  4. If you cannot upgrade immediately, restrict network access to Cacti so it is not reachable from the public internet.
Patch / advisory Usually a quick update

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:UC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

and 1 more affected products View all →

Exploitability

Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

1 technique
Initial Access
View detailed technique mapping

References

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-39955 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows