PT-2026-52624 · Cacti · Cacti
Published
2026-06-25
·
Updated
2026-06-25
·
CVE-2026-40080
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
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.
Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cacti