6.5

CVE-2026-40084: Cacti: Arbitrary File Read via Path Traversal in Report `format_file` Parameter

Analyzed
AliasesUBUNTU-CVE-2026-40084DEBIAN-CVE-2026-40084
Published 25-06-2026Last modified 26-06-2026

Vulnerability summary

CVE-2026-40084 is a medium (CVSS 6.5) vulnerability in cacti. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 41.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.49%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 25-06-2026
    PublishedVulnerability first disclosed.
  2. 26-06-2026
    Last modifiedVulnerability information updated.

Description

Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior are vulnerable to Path Traversal through the Report format_file Parameter, causing arbitrary file read. This vulnerability occurs in two stages. In the first stage (stored injection), lib/html_reports.php at line 283 stores $save['format_file'] = $post['format_file'] directly into the database without any validation. In the second stage (file read), lib/reports.php at line 667 concatenates CACTI_PATH_FORMATS . '/' . $format_file, and line 670 then calls file($format_file), reading arbitrary files from the filesystem. This issue has been fixed in version 1.2.31.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.49% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Cacti

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Cacti1 product
Debian1 product
  • cactiAll versions (No fix recorded) | < 1.2.31+ds1-1
Ubuntu1 product
  • cactiAll versions (No fix recorded)

3 vendors · 3 products

References

5 links