Read the docs
TI-2026-79919 Aliases CVE-2026-39902

OS command injection in Cacti data input allows code execution

Priority LOW 34CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

Cacti versions before 1.2.31 are affected. Their blocklist for data input_string values omits single quotes, double quotes, redirect operators and subshell parentheses, so OS command injection (CWE-78) is possible. An authenticated administrator can save a crafted input_string that runs operating system commands on the server.

Written with Claude Haiku 5.5 from the sources below · 2026-11-02

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00403 34th percentileScored 2026-11-07
Fix Fixed cacti (Cacti): 1.2.31

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Cacticactibefore 1.2.311.2.31Patch availableCNA
  • cacti VendorCacti Affected before 1.2.31 Fixed in 1.2.31 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*——Cacti
  • cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:* Versions — — ·Cacti

Remediation

Upgrade Cacti to version 1.2.31, which patches this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-02

  • Fix · CNA cacti (Cacti) Fixed in 1.2.31

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-23 Threatist record created from CVE-2026-39902
  2. 2026-10-24 Priority changed: MEDIUM → LOW
  3. 2026-10-29 CISA SSVC decision points changed
  4. 2026-11-02 Affected versions changed · Red Hat
  5. 2026-11-02 CVSS score added · Red Hat

References

  • TI-2022-22813 Unauthenticated command injection in cacti KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-19663 Cacti command injection in cmd_realtime.php CVSS 3.1CRITICAL 10.0
  • TI-2023-20500 Unauthenticated SQL Injection in graph_view.php in Cacti CVSS 3.1CRITICAL 9.8
  • TI-2024-16869 Cacti RCE vulnerability when importing packages CVSS 3.1CRITICAL 9.1
  • TI-2024-20809 SQL Injection vulnerability in automation_get_new_graphs_sql CVSS 3.1HIGH 8.8
  • TI-2023-26750 Cacti SQL Injection vulnerability CVSS 3.1HIGH 8.8
See all 158 →

Sources