CVE-2026-39938

Cacti: Unauthenticated RCE on Graph Image

Published Jun 24, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have unauthenticated LFI through graph_theme and rrdtool IPC serialization hardening. This issue has been resolved in version 1.2.31.

Analysis

AI-generated

Technical impact

Cacti, the performance and fault management platform, suffers from an unauthenticated local file inclusion flaw that can be abused to execute arbitrary code. The vulnerability stems from the graph_theme parameter and rrdtool inter-process communication serialization hardening across versions 1.2.30 and earlier. Through this flaw an attacker can read sensitive files, inject code, and ultimately gain full control over the affected server, compromising confidentiality, integrity, and availability of all hosted services.

Affected Systems

The affected product is the open‑source Cacti system. Versions through 1.2.30, inclusive, are vulnerable; the issue was addressed in version 1.2.31. Any deployment of Cacti within this version range is at risk, regardless of environment, as the flaw does not require any privileged user or additional software.

Risk and Exploitability

The CVSS score of 9.8 categorizes this as Critical, reflecting the ease of exploitation and severe impact. EPSS information is unavailable, so the likelihood of active exploitation is uncertain but cannot be discounted. The vulnerability is not listed in the CISA KEV catalog, yet its high severity and unauthenticated nature suggest it may be actively targeted by threat actors. The likely attack path involves sending a crafted request to the graph image rendering endpoint, using a malicious graph_theme value, thereby triggering the LFI and gaining execution on the server.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Cacti 1.2.31 or later to apply the vendor fix.
  • Until a patch can be applied, block unauthenticated access to the graph image generation endpoints using a firewall or access control rule to prevent the LFI vector from being exercised.
  • Ensure that all input parameters to graph generation are validated and that rrdtool IPC serialization hardening is enabled, to reduce the risk of similar flaws being introduced in the future.

Generated by OpenCVE AI on June 25, 2026 at 00:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cacti
Cacti cacti
Vendors & Products Cacti
Cacti cacti
Type Values Removed Values Added
Description Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have unauthenticated LFI through graph_theme and rrdtool IPC serialization hardening. This issue has been resolved in version 1.2.31.
Title Cacti: Unauthenticated RCE on Graph Image
Weaknesses CWE-22
CWE-78
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 26, 2026, 3:55 AM
Reserved
Apr 7, 2026, 10:40 PM
Status
Analyzed
Published
Jun 24, 2026, 11:16 PM
Modified
Jun 26, 2026, 5:16 AM