Skip to main content

Cacti CVE-2026-39951

HIGH
SQL Injection (CWE-89)
N/A vendor:alpine
8.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv5 – Jun 25, 2026

SQL injection in Cacti, the open-source network monitoring and graphing platform, lets an authenticated low-privilege user inject crafted database queries (CWE-89), yielding full confidentiality, integrity, and availability impact; it is fixed in version 1.2.31 (Alpine package 1.2.31-0). The flaw is reachable over the network without user interaction, but EPSS is low (0.19%, 8th percentile), there is no public exploit identified at time of analysis, and it is not on CISA KEV. Upstream advisory GHSA-pf37-v86f-5xwp and the consolidated fix commit address this alongside several related hardening fixes.

Earlier versions of this analysis (4)
v4 Jun 25, 2026 - 15:28 cvss changed CVSS 8.8

SQL injection in Cacti (CWE-89), the open-source network monitoring and graphing platform, allows a low-privileged authenticated web-console user to inject arbitrary SQL and achieve full read/write compromise of the backend database. The flaw is fixed in Cacti 1.2.31 (Alpine package 1.2.31-0) and carries a CVSS 8.8 rating; no public exploit has been identified and EPSS exploitation probability is low (0.19%, 8th percentile).

v3 Jun 25, 2026 - 00:28 cvss changed CVSS 7.6

SQL injection in Cacti (CWE-89) allows an authenticated, low-privileged user to inject crafted SQL into a network-reachable endpoint and read sensitive database contents, with limited integrity and availability impact (CVSS 7.6). The flaw was reported through Alpine Linux and fixed upstream in Cacti 1.2.31; the same release also hardens several adjacent issues (CSV formula injection, shell command-injection guards, path traversal, and shell argument escaping). There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV.

v2 Jun 25, 2026 - 00:28 cvss changed CVSS 7.6

SQL injection in Cacti (open-source network monitoring/graphing platform) is fixed in version 1.2.31, addressed via Alpine package cacti-1.2.31-0. The CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:N) indicates an authenticated, low-privilege user can issue crafted requests over the network to inject SQL, yielding high confidentiality impact plus limited integrity and availability effects. No public exploit identified at time of analysis and it is not listed in CISA KEV; note that the linked upstream commit visibly bundles several distinct hardening fixes (CSV formula injection, shell/command injection, path traversal, log redaction, security headers) beyond the SQL-injection class indicated by CWE-89.

v1 Jun 18, 2026 - 11:02

Cacti, the PHP-based network monitoring and graphing solution, has a vulnerability addressed in Alpine Linux package version 1.2.31-0. The nature of the flaw - its impact class, attack vector, and exploitability - is not described in available intelligence. This entry is derived solely from an Alpine Linux vendor advisory noting a fix, with no upstream CVE description, CVSS score, CWE classification, or exploitation data provided.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Know when Cacti gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable web console with low complexity, but a console account is required so PR:L (not PR:N); a SQLi grants full database read/write, justifying C:H/I:H/A:H.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

6
Analysis Updated
Jun 25, 2026 - 15:28 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 25, 2026 - 15:28 vuln.today
v4 - CVSS changed
CVSS changed
Jun 25, 2026 - 15:22 NVD
7.6 (HIGH) 8.8 (HIGH)
Analysis Updated
Jun 25, 2026 - 00:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 25, 2026 - 00:28 vuln.today
v2 - CVSS changed
CVSS changed
Jun 25, 2026 - 00:22 NVD
7.6 (HIGH)

DescriptionNVD

Alpine Linux: cacti fixed in 1.2.31-0

Executive ViewAI

Why It Matters

Cacti versions prior to 1.2.31 contain an authenticated SQL injection vulnerability that could allow low-privilege users to extract sensitive monitoring data or manipulate the integrity of network infrastructure visibility. Compromise of your monitoring platform could enable adversaries to exfiltrate data or mask malicious activity while remaining undetected in your environment. Patching to version 1.2.31 is essential to close this access path.

Recommended Action

Within 24 hours: Identify and document all Cacti deployments in your environment. Within 7 days: Apply vendor patch Cacti version 1.2.31 (Alpine package 1.2.31-0) to all instances following change management procedures and validate monitoring functionality post-deployment. Within 30 days: Review access logs for suspicious administrative activity, confirm patch deployment across all systems, and document completion for audit purposes.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)NVD

cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*

More in Cacti

View all
CVE-2025-24367 HIGH POC
8.7 Jan 27

Cacti monitoring platform prior to version 1.2.29 allows authenticated users to achieve remote code execution through th

CVE-2022-46169 CRITICAL POC
9.8 Dec 05

Cacti is an open source platform which provides a robust and extensible operational monitoring and fault management fram

CVE-2023-49085 HIGH POC
8.8 Dec 22

Cacti provides an operational monitoring and fault management framework. Rated high severity (CVSS 8.8), this vulnerabil

CVE-2023-49084 HIGH POC
8.8 Dec 21

Cacti is a robust performance and fault management framework and a frontend to RRDTool - a Time Series Database (TSDB).

CVE-2020-14295 HIGH POC
7.2 Jun 17

A SQL injection issue in color.php in Cacti 1.2.12 allows an admin to inject SQL via the filter parameter. Rated high se

CVE-2026-39938 CRITICAL POC
9.8

Path traversal in Cacti's RRDtool theme handling (lib/rrd.php) lets an attacker manipulate the 'graph_theme' value to es

CVE-2023-39361 CRITICAL POC
9.8 Sep 05

Cacti is an open source operational monitoring and fault management framework. Rated critical severity (CVSS 9.8), this

CVE-2017-1000031 HIGH POC
8.8 Jul 17

SQL injection vulnerability in graph_templates_inputs.php in Cacti 0.8.8b allows remote attackers to execute arbitrary S

CVE-2015-8604 HIGH POC
8.8 Apr 11

SQL injection vulnerability in the host_new_graphs function in graphs_new.php in Cacti 0.8.8f and earlier allows remote

CVE-2016-3659 HIGH POC
8.8 Apr 11

SQL injection vulnerability in graph_view.php in Cacti 0.8.8.g allows remote authenticated users to execute arbitrary SQ

CVE-2016-3172 HIGH POC
8.8 Apr 12

SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remote authenticated users to execute arbitra

CVE-2023-51448 HIGH POC
8.8 Dec 22

Cacti provides an operational monitoring and fault management framework. Rated high severity (CVSS 8.8), this vulnerabil

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy