CVE-2026-40082
published medium CVSS 3.1 · 5.4Cacti: Session Fixation via missing session_regenerate_id() after login
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cacti | — | cacti< 1.2.31 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | cacti | Fixed | 1.2.31-r0 | Package fix record |
| Alpine Linux | v3.24 | cacti | Fixed | 1.2.31-0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cacti | cacti | < 1.2.31 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-384 CWE-384: Session Fixation
References
3Provider assertions
2GitHub_M · cna
Cacti: Session Fixation via missing session_regenerate_id() after login
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 867d58e40640f0ca062fbe0196b39beb50b9c48334ff981429e6aa66378338f8
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record