# CVE-2026-40082: Cacti: Session Fixation via missing session_regenerate_id() after login

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T22:33:45.871Z
- Modified: 2026-06-29T18:50:31.970Z
- Weaknesses: CWE-384
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have missing session_regenerate_id() after login, leading to Session Fixation. session_regenerate_id() is NOT called after successful login. The login flow at auth_login.php:203-207 directly sets $_SESSION[SESS_USER_ID] without rotating the session ID. The session cookie configuration is otherwise good (httponly=true, samesite=Strict, secure=true for HTTPS at include/global.php:513-537), but these do not prevent session fixation via same-site vectors. This issue has been fixed in version 1.2.31.

(As written by CVE List.)

## Affected

- Cacti cacti: < 1.2.31; before 1.2.31

## References

- <https://github.com/Cacti/cacti/security/advisories/GHSA-273r-qr93-wgcp> (exploit, mitigation, vendor-advisory)
- <https://github.com/Cacti/cacti/commit/2fa404e70a5702be10682555911228e8e51ba198> (patch)
- <https://github.com/Cacti/cacti/releases/tag/release%2F1.2.31> (product, release-notes)

## Sources

- CVE List: [CVE-2026-40082](https://www.cve.org/CVERecord?id=CVE-2026-40082), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-40082](https://nvd.nist.gov/vuln/detail/CVE-2026-40082), Public domain, modified 2026-06-29

---

Page: https://cve.day/CVE-2026-40082 · Whole record: https://cve.day/CVE-2026-40082.json · Rebuilt by cve.day 2026-11-25T22:59:26.444Z
