Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Nov 25, 2026

CVE-2026-39938 Scanner

CVE-2026-39938 Scanner - Local File Inclusion (LFI) vulnerability in Cacti

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsurl
CostFree
0
Times Used
continuous scan runs
0
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
9.8
CVSScritical
Exploitable remotely over the internet · no authentication required.
Description

Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have unauthenticated LFI through graph_theme and rrdtool IPC serialization hardening. This issue has been resolved in version 1.2.31.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
cactiby Cacti
< 1.2.31
Updated Nov 25, 2026View on NVD →
Detail

Cacti is an open-source network monitoring and graphing tool used widely in environments where IT infrastructure monitoring is essential. It is employed by network and system administrators to keep track of network performance and load. Cacti provides a robust graphing solution for managing large-scale bandwidth measurement operations. The software is widely used in enterprise and service provider environments to visualize network data and trends. Its interface allows users to easily manage network metrics and performance monitoring. Cacti helps ensure optimal network function by providing detailed insights into network usage patterns.

This vulnerability involves Local File Inclusion (LFI), which allows an attacker with unauthorized access to control the path to a PHP file included by the application. It occurs due to insufficient validation of user input in the graph_theme request parameter. This allows attackers to exploit the file inclusion mechanism by including arbitrary local files. It poses a significant security risk as files not intended to be user-accessible may be exposed and leveraged by malicious entities. An attacker can extract sensitive information or perform other malicious activities using this vulnerability.

The vulnerability is a result of inadequate input validation in the rrdtheme.php include path construction, where the application combines user-controlled data directly with file paths. Specifically, the graph_theme parameter in the graph_image.php file can be manipulated, allowing unintended file inclusion. The attack is facilitated when guest graph access is enabled, and the path used in requests can include attacker-controlled segments. The unpatched application concatenates this information without appropriate sanitization, leading to LFI. The issue was mitigated in version 1.2.31, where input is validated against a list of known themes.

If exploited, this vulnerability can lead to unauthorized access to local files within the Cacti application server. Malicious actors might exploit this flaw to retrieve configuration files or scripts, potentially disclosing internal settings or credentials. This could also enable them to explore further vulnerabilities and escalate privileges within the server. The exposure can lead to a compromise of confidentiality and expose the system to further attacks by providing insights into application setup and file structure.

REFERENCES

Solution Advice
  • Upgrade Cacti to version 1.2.31 or later to mitigate this vulnerability.
  • Restrict guest access to sensitive areas within the application where possible.
  • Implement strict input validation and sanitization for all user-supplied data.
  • Regularly audit system configurations to ensure no unauthorized modifications are possible.
  • Monitor logs for unusual access patterns to detect potential exploitation attempts.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.

Browse All Tools