CVE-2026-39893 Cacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php

Critical 9.8 Published Updated

Pre-authentication SQL injection in Cacti allows attackers to read or modify database contents if guest viewing is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-39893?

CVE-2026-39893 is a critical SQL injection vulnerability in Cacti Cacti, published on 24 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Cacti is an open source performance and fault management framework. In versions 1.2.30 and prior, the rfilter request variable was concatenated into a RLIKE SQL clause without sanitization. The endpoint does not require authentication (graph viewing supports guest access via the configured guest user), so the SQLi was reachable pre-auth on installs with guest viewing enabled. This issue was fixed in version 1.2.31.

Weakness: CWE-89

Which versions are affected by CVE-2026-39893?

It affects 1 product.

Products include Cacti Cacti.

How do I fix CVE-2026-39893?

Upgrade to a fixed version.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-39893 being exploited?

There is no known exploitation of CVE-2026-39893 in the wild and no public exploit code.

All Cacti Cacti vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-39893, GHSA-69gg-mjfm-jjpc, UBUNTU-CVE-2026-39893.

Is CVE-2026-39893 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free