Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Cacti: Open Redirect via HTTP_REFERER substring check in auth_login_redirect
AV AC PR UI S C I A CVSS EPSS %ile KEV
N L N R C L L N 6.1 .0019 9.2 —
AFFECTED
Product Versions Fixed
cacti < 1.2.31 – —
TIMELINE
Apr 9 Reserved by GitHub_M
Jun 25 EXPLOIT PUBLISHED — CVE-2026-40080 (cacti). Public exploit reference added.
Jun 25 Published (CNA: GitHub_M)
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.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| April 9, 2026 | Reserved | Reserved by GitHub_M |
| June 25, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-40080 (cacti). Public exploit reference added. |
| June 25, 2026 | Published | Published (CNA: GitHub_M) |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Cacti | cacti | — | < 1.2.31 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-40080 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.