Skip to content
WatchlistHigh

CVE-2024-31445Cacti SQL Injection

Cacti provides an operational monitoring and fault management framework.

Published May 14, 2024 · Updated Aug 12, 2026 · Also known as DEBIAN-CVE-2024-31445, GHSA-vjph-r677-6pcc, UBUNTU-CVE-2024-31445

Key Facts

Patch immediately
  • CVE-2024-31445 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Cacti, Fedora (Fedoraproject), cacti-spine (suse).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 26% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Cacti 1.1.38+ds1-1ubuntu0.1~esm3, Cacti 1.2.10+ds1-1ubuntu1.1, Cacti 1.2.16+ds1-2+deb11u4.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

26%

Higher than 97.9% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

41/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, a SQL injection vulnerability in automation_get_new_graphs_sql function of api_automation.php allows authenticated users to exploit these SQL injection vulnerabilities to perform privilege escalation and remote code execution. In api_automation.php line 856, the get_request_var('filter') is being concatenated into the SQL statement without any sanitization.

In api_automation.php line 717, The filter of 'filter' is FILTER_DEFAULT, which means there is no filter for it. Version 1.2.27 contains a patch for the issue.

Affected Products

45 affected entries in total
ProductAffected versionsFixed in
CactiCacti>= < 1.2.271.2.27
FedoraFedoraproject39n/a
cacti-spinesuseSee advisory1.2.27-bp155.2.9.1

Patched Releases

Cacti

1.1.38+ds1-1ubuntu0.1~esm3, 1.2.10+ds1-1ubuntu1.1, 1.2.16+ds1-2+deb11u4, 1.2.19+ds1-2ubuntu1.1, 1.2.24+ds1-1+deb12u3, 1.2.26+ds1-1ubuntu0.1, 1.2.27-1.1, 1.2.27-bp155.2.9.1, 1.2.27-bp156.2.3.1, 1.2.27-r0, 1.2.27+ds1-1, 1.2.27

cacti-spine

1.2.27-bp155.2.9.1, 1.2.27-bp156.2.3.1

Timeline

  1. Publicly disclosed

    May 14, 2024

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

References

6 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-31445 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.