Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-39938 – Unauthenticated LFI / Remote Code Execution – Cacti 1.2.30 and Prior

Be the first to know when new zero-days emerge:

Summary

CVE-2026-39938 is a critical-severity (CVSS 9.8) unauthenticated Local File Inclusion (LFI) vulnerability in Cacti, the open source performance and fault management framework. Affecting all versions up to and including 1.2.30, the flaw is exploitable remotely without credentials or user interaction, and has been assigned both CWE-22 (Path Traversal) and CWE-78 (OS Command Injection), meaning successful exploitation can escalate beyond file disclosure to full Remote Code Execution. Cacti 1.2.31 resolves this issue.

Technical details

  • Root cause: Improper input validation of the graph_theme parameter. An initial sanitization approach based on basename() was insufficient and could be bypassed by attackers; the fix replaces it with filesystem allowlist-based validation implemented in cacti_validate_theme() (PR #6966, commit 9871f0ce).
  • rrdtool IPC: The vulnerability is further enabled by weaknesses in Cacti’s rrdtool inter-process communication (IPC) serialization, which was hardened as part of the same fix.
  • Trigger conditions: Any unauthenticated HTTP/HTTPS request to a reachable Cacti instance is sufficient — no credentials, no prior access, and no user interaction are required.
  • Attack vector: Network-based; exploitable directly from the public internet against exposed Cacti deployments.
  • Impact: CWE-22 (Path Traversal) enables arbitrary local file read (e.g., /etc/passwd, application configuration files containing credentials, private keys). CWE-78 (OS Command Injection) enables execution of arbitrary operating system commands with application-level privileges, constituting Remote Code Execution.

Affected software

  • Cacti versions 1.2.30 and prior (all prior releases are affected)

Severity

  • CVSS v3.1 Base Score: 9.8 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate — Upgrade: Update Cacti to version 1.2.31, which contains the vendor-supplied fix (filesystem allowlist validation in cacti_validate_theme() and rrdtool IPC serialization hardening).
  • Network mitigation (if patching is not immediately possible): Restrict public internet access to the Cacti web interface using a firewall or reverse proxy. Cacti is an internal monitoring tool and should not be exposed to untrusted networks. Place it behind VPN or IP allowlist controls until the patch can be applied.
  • Verify exposure: Audit all internet-facing hosts for Cacti deployments and confirm their version. Instances accessible over the public internet are at immediate risk.

IONIX Status

The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge