Description
Cacti is an open source performance and fault management framework. Prior to version 1.2.31, the prior blocklist ([;&| `$\\n\r]) omitted single-quote, double-quote, redirect operators, subshell parens and braces. An authenticated admin could save an input_string` containing single-quote, redirect operator, or subshell parens, and pass the check. This issue has been patched in version 1.2.31.
Published: 2026-10-23
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Cacti versions earlier than 1.2.31 contain a missing validation filter that allows authenticated administrators to submit input strings with shell metacharacters such as single quotes, redirection operators, or subshell parentheses. When these characters are stored, they can later be executed by the underlying system shell, giving an attacker the ability to run arbitrary commands with the privileges of the web server process. This attack results in complete compromise of the host where Cacti is running, including confidentiality, integrity, and availability loss. The weakness falls under CWE‑78, a classic command injection flaw.

Affected Systems

The affected product is the Cacti performance management platform. All releases prior to version 1.2.31 are vulnerable because the input filtering blocklist omitted critical shell metacharacters. Administrators of any Cacti installation using these earlier releases can exploit the flaw by logging in with administrative credentials and saving a malicious input string. The latest release, 1.2.31 and later, implements the missing validation and is therefore not affected.

Risk and Exploitability

The CVSS score of 7.2 indicates moderate to high severity, while the lack of an EPSS score means exploit prevalence was not quantified at the time. The flaw is not listed in CISA's KEV catalog. Exploitation requires authenticated access to Cacti's administrative interface; an attacker with such privileges can trigger the injection immediately. Based on the description, it is inferred that admin accounts may be shared or located on an exposed network, which could increase the risk of compromise, especially in environments lacking strict role-based access control.

Generated by OpenCVE AI on October 23, 2026 at 17:01 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Cacti v1.2.31 or newer, which includes the input validation fix.
  • Verify that only trusted individuals have administrative rights and limit or remove admin accounts from untrusted users.
  • Apply temporary access controls, such as restricting outbound shell execution by the web server or using application firewall rules to block suspicious shell commands in web requests.

Generated by OpenCVE AI on October 23, 2026 at 17:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
Description Cacti is an open source performance and fault management framework. Prior to version 1.2.31, the prior blocklist ([;&| `$\\n\r]) omitted single-quote, double-quote, redirect operators, subshell parens and braces. An authenticated admin could save an input_string` containing single-quote, redirect operator, or subshell parens, and pass the check. This issue has been patched in version 1.2.31.
Title Cacti: Authenticated RCE on Data Input
Weaknesses CWE-78
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T14:42:45.710Z

Reserved: 2026-04-07T20:32:03.012Z

Link: CVE-2026-39902

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T15:17:30.873

Modified: 2026-10-23T15:17:30.873

Link: CVE-2026-39902

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T17:15:07Z

Weaknesses
  • CWE-78

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