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

New CVE Detected

CVE-2026-39893 – Pre-Auth SQL Injection – Cacti 1.2.30 and prior

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

Summary

CVE-2026-39893 is a critical pre-authentication SQL injection vulnerability in Cacti, an open source performance and fault management framework, affecting all versions up to and including 1.2.30. The flaw resides in graph_view.php, where the rfilter request variable is concatenated directly into an SQL RLIKE clause without sanitization, and is reachable without credentials on any Cacti deployment with guest graph viewing enabled. The vulnerability carries a CVSS v3.1 base score of 9.8 (Critical) and was fixed in version 1.2.31.

Technical details

  • Root cause: The rfilter parameter passed to graph_view.php (at lines 470 and 753) is directly concatenated into an SQL RLIKE clause with no input sanitization or parameterized query handling, constituting an improper neutralization of special elements in an SQL command (CWE-89).
  • Trigger conditions: Exploitation requires no authentication. Cacti’s graph viewing endpoint supports unauthenticated guest access via the configured guest user account — a configuration present on many internet-facing Cacti deployments.
  • Attack vector: Remotely exploitable over the network; no privileges and no user interaction required (AV:N/AC:L/PR:N/UI:N).
  • Impact: Successful exploitation grants an attacker full read access to the underlying database, the ability to modify or corrupt database records, and the potential to cause service disruption through resource exhaustion. CVSS impact metrics are rated High across confidentiality, integrity, and availability (C:H/I:H/A:H).

Affected software

  • Cacti versions 1.2.30 and prior (all versions up to and including 1.2.30)

Severity

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

Mitigation and recommended actions

  • Immediate action — upgrade: Update to Cacti 1.2.31 or later. The patch introduces a new db_qstr_rlike() helper function that limits the rfilter input to 255 characters, strips SQL and regex metacharacters (including |, {, }, and NUL bytes), and applies parameterized quoting via db_qstr().
  • If immediate patching is not possible:
    • Disable guest/unauthenticated graph viewing in Cacti’s configuration to eliminate the pre-auth attack surface.
    • Restrict access to graph_view.php at the network or web server level (e.g., firewall rules, IP allowlisting) to trusted networks only.
    • Monitor database logs for anomalous RLIKE query patterns indicative of injection attempts.

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