{"id":81092,"date":"2026-06-26T01:59:51","date_gmt":"2026-06-25T22:29:51","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-40080-cacti-open-redirect-via-http_referer-substring-check-in-auth_login_redirect\/"},"modified":"2026-06-26T01:59:51","modified_gmt":"2026-06-25T22:29:51","slug":"cve-2026-40080-cacti-open-redirect-via-http_referer-substring-check-in-auth_login_redirect","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-40080-cacti-open-redirect-via-http_referer-substring-check-in-auth_login_redirect\/","title":{"rendered":"CVE-2026-40080 &#8211; Cacti: Open Redirect via HTTP_REFERER substring check in auth_login_redirect"},"content":{"rendered":"<p>CVE ID :CVE-2026-40080<\/p>\n<p>  Published : June 25, 2026, 10:29 p.m. | 1\u00a0hour, 15\u00a0minutes ago<\/p>\n<p>  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&#8217;s login_opts == &#8216;1&#8217; (redirect to referer after login), the function used $_SERVER[&#8216;HTTP_REFERER&#8217;] 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.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-40080 Published : June 25, 2026, 10:29 p.m. | 1\u00a0hour, 15\u00a0minutes ago 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&#8217;s login_opts == &#8216;1&#8217; (redirect to referer &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-81092","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=81092"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81092\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}