Cacti: Versions 1.2.30 and prior are vulnerable to Open Redirect through a substring check rather than a host check at
Affects cactiSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 1.2.31 : update cacti when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.2.31
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10cactipkg:deb/ubuntu/cacti?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10cactipkg:deb/ubuntu/cacti?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior are vulnerable to Open Redirect through a substring check rather than a host check at str_contains($referer, CACTI_PATH_URL). When the user's login_opts == '1' (redirect to referer after login), the function used $_SERVER['HTTP_REFERER'] directly. An attacker could craft a referer such as https://evil.com/cacti/. Where CACTI_PATH_URL is /cacti/, the substring matches and the user is redirected to evil.com after login. The pre-existing validate_redirect_url() helper at lib/html_utility.php performed proper validation but was not invoked from auth_login_redirect(). This issue has been fixed in version 1.2.31.
References
- ubuntu.com/security/CVE-2026-40080 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-40080 (opens in a new tab)
- github.com/Cacti/cacti/security/advisories/GHSA-6gr7-53g8-vchq (opens in a new tab)
- github.com/Cacti/cacti/pull/7039 (opens in a new tab)
- github.com/Cacti/cacti/releases/tag/release%2F1.2.31 (opens in a new tab)