{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40080","published":"2026-06-25T23:17:02.623000Z","last_modified":"2026-06-29T18:52:43.557000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-601"],"cpes":[{"criteria":"cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*","part":"a","vendor":"cacti","product":"cacti","version_end_excluding":"1.2.31"}],"cpes_truncated":false,"vendors":["cacti"],"products":["cacti/cacti"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2026-40080/","html_en":"/en/cve/CVE-2026-40080/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40080","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40080"},"untrusted":{"vendor_name":"Cacti","product_name":"Cacti","desc_en":"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.","affected":[{"untrusted_vendor":"Cacti","untrusted_product":"cacti","versions":[]}],"references":[{"url":"https://github.com/Cacti/cacti/releases/tag/release%2F1.2.31","tags":["Product","Release Notes"]},{"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-6gr7-53g8-vchq","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}