{"id":"CVE-2026-40084","aliases":["CVE-2026-40084"],"related":[],"kind":"vulnerability","state":"published","title":"Cacti: Arbitrary File Read via Path Traversal in Report `format_file` Parameter","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-06-25T22:43:47.441Z","modified":"2026-06-29T18:48:17.770Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 1.2.31","status":"affected"}],"vendor":"Cacti","product":"cacti","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.2.31"}],"vendor":"cacti","product":"cacti","cpe":"cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-mjvw-mhj5-9jcj","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Cacti/cacti/commit/4c09efaebf3a9faec66969d0b5c4aceaf397f37f","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-26T12:44:34.528Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40084","url":"https://www.cve.org/CVERecord?id=CVE-2026-40084","licence":"CVE Terms of Use","modified":"2026-06-26T12:44:37.984Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40084","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40084","licence":"Public domain","modified":"2026-06-29T18:48:17.770Z"}],"updatedAt":"2026-11-25T22:59:26.444Z","epss":{"score":0.00386,"percentile":0.34819,"date":"2026-12-01T12:00:22.000Z"}}