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

Published Jun 25, 2026
·
Updated

Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have missing sessionregenerateid() after login, leading to Session Fixation. sessionregenerateid() is NOT called after successful login. The login flow at authlogin.php:203-207 directly sets $SESSION[SESSUSERID] 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.

Affected Software

2 affected components
Cacti>=0<1.2.31
Cacti Cacti<1.2.31

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade cacti to a version that resolves this vulnerability.

    Fixed in 1.2.31
  2. Configuration

    Modify the login flow (auth_login.php:203-207) so that session_regenerate_id() is invoked after successfully authenticating and before setting $_SESSION[SESS_USER_ID], addressing the missing session_regenerate_id() in versions 1.2.30 and prior.

    Cacti auth_login.php session_regenerate_id() = called after successful login

Event History

Jun 25, 2026
CVE Published
via MITRE·10:33 PM
Data Sourced
via MITRE·10:33 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40082?

CVE-2026-40082 has a severity rating of medium with a score of 5.4.

2

How do I fix CVE-2026-40082?

To fix CVE-2026-40082, update to Cacti version 1.2.31 or later that implements session_regenerate_id() after login.

3

What causes CVE-2026-40082?

CVE-2026-40082 is caused by a missing call to session_regenerate_id() after a successful login, leading to session fixation vulnerabilities.

4

Which versions of Cacti are affected by CVE-2026-40082?

CVE-2026-40082 affects Cacti versions 1.2.30 and earlier.

5

What type of vulnerability is CVE-2026-40082?

CVE-2026-40082 is categorized as a session fixation vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203