CVE-2026-40084: Cacti · Versions 1.2.30 and prior are vulnerable to Path Traversal through the Report format_file
Affects cactiSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium · fixed in 1.2.31 : update cacti when convenient.
Data as of 24 Nov 2026, 20:28 UTC
- Patch
- Available – fixed in 1.2.31
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10cactipkg:deb/ubuntu/cacti?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10cactipkg:deb/ubuntu/cacti?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.