PT-2026-52624 · Cacti · Cacti

·

CVE-2026-40080

·

Published

2026-04-12

·

Updated

2026-06-29

CVSS v2.0

6.4

Medium

VectorAV:N/AC:L/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions Cacti versions prior to 1.2.31
Description An open redirect issue exists due to the use of a substring check instead of a host check within the str contains($referer, CACTI PATH URL) logic. When the login opts variable is set to '1', the auth login redirect() function directly utilizes the $ SERVER['HTTP REFERER'] variable. An attacker can exploit this by crafting a referer containing the CACTI PATH URL substring, such as https://evil.com/cacti/, causing the user to be redirected to an external malicious site after login. This occurs because the validate redirect url() helper function in lib/html utility.php, which provides proper validation, was not called by the auth login redirect() function.
Recommendations Update to version 1.2.31.

Exploit

Fix

Open Redirect

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-09119
CVE-2026-40080
GHSA-6GR7-53G8-VCHQ

Affected Products

Cacti