CVE-2026-40080
mediumpriority · track · 0EPSS 0.003 · 17 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1931Cacti: Mehrere SchwachstellenDeutsch2026-06-15csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Cacti ausnutzen, um beliebigen Programmcode auszuführen, um Sicherheitsvorkehrungen zu umgehen, um einen Cross-Site Scripting Angriff durchzuführen, um einen SQL-Injection Angriff durchzuführen, um Dateien zu manipulieren, und um Informationen offenzulegen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/Cacti/cacti/releases/tag/release%2F1.2.31cnnvd
- https://github.com/Cacti/cacti/security/advisories/GHSA-6gr7-53g8-vchqcnnvd
- https://github.com/Cacti/cacti/releases/tag/release%2F1.2.31enisa_euvd
- https://github.com/Cacti/cacti/security/advisories/GHSA-6gr7-53g8-vchqenisa_euvd
- https://github.com/Cacti/cacti/releases/tag/release%2F1.2.31ProductRelease Notesnvd
- https://github.com/Cacti/cacti/security/advisories/GHSA-6gr7-53g8-vchqExploitMitigationVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan