Vulnerability · Published Jun 24, 2026 · Assigned by GitHub_M
CVE-2026-39893Cacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php
Critical 9.8
In plain English
A critical-severity SQL injection in cacti from Cacti. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | cacti | no fix listed | DEBIAN-CVE-2026-39893 |
| Debian:13 | cacti | no fix listed | DEBIAN-CVE-2026-39893 |
| Debian:14 | cacti | 1.2.31+ds1-1 | DEBIAN-CVE-2026-39893 |
| Ubuntu:24.04:LTS | cacti | no fix listed | UBUNTU-CVE-2026-39893 |
| Ubuntu:25.10 | cacti | no fix listed | UBUNTU-CVE-2026-39893 |
| Ubuntu:26.04:LTS | cacti | no fix listed | UBUNTU-CVE-2026-39893 |
| Ubuntu:26.10 | cacti | no fix listed | UBUNTU-CVE-2026-39893 |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/Cacti/cacti/security/advisories/GHSA-69gg-mjfm-jjpc x_refsource_CONFIRM
- https://github.com/Cacti/cacti/pull/7039 x_refsource_MISC