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

Published Jun 25, 2026
·
Updated

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

Affected Software

2 affected components
Cacti Cacti<=1.2.30
Cacti Cacti<1.2.31

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade cacti to a version that resolves this vulnerability.

    Fixed in 1.2.31

Event History

Jun 25, 2026
CVE Published
via MITRE·10:43 PM
Data Sourced
via MITRE·10:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40084?

The severity of CVE-2026-40084 is rated as medium with a score of 6.5.

2

What is CVE-2026-40084?

CVE-2026-40084 is a vulnerability in Cacti that allows for arbitrary file read via path traversal in the Report format_file parameter.

3

How do I fix CVE-2026-40084?

To fix CVE-2026-40084, upgrade Cacti to version 1.2.31 or later where the vulnerability is patched.

4

What types of impacts are possible with CVE-2026-40084?

CVE-2026-40084 can lead to unauthorized access to sensitive files on the server due to arbitrary file reading.

5

Which versions of Cacti are affected by CVE-2026-40084?

CVE-2026-40084 affects Cacti versions 1.2.30 and prior.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203