CVE-2026-128335: Contao before 5.3.54, 5.7.17, and 6.0.6 Session Invalidation Failure on 2FA Change

Published Nov 13, 2026
·
Updated

Contao 4.6.0 before 5.3.54, 5.4.0-RC1 before 5.7.17, and 6.0.0-RC1 before 6.0.6 fails to invalidate existing user sessions when two-factor authentication is enabled or disabled. Because Contao\User::isEqualTo() and serialized session data omit two-factor state, attackers already holding a session keep it after the owner changes 2FA settings.

Affected Software

1 affected component
Contao Contao>=4.6.0<5.3.54, >=5.4.0-RC1<5.7.17, >=6.0.0-RC1<6.0.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Contao to a version that resolves this vulnerability.

    Fixed in 5.3.54
  2. Upgrade

    Upgrade Contao to a version that resolves this vulnerability.

    Fixed in 5.7.17
  3. Upgrade

    Upgrade Contao to a version that resolves this vulnerability.

    Fixed in 6.0.6

Event History

Nov 13, 2026
CVE Published
via MITRE·09:33 AM
Data Sourced
via MITRE·09:33 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:18 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What must an attacker already have to exploit this issue?

The attacker must already hold a valid user session. Exploitation also requires the affected user to enable or disable two-factor authentication, after which the existing session remains valid.

2

Which deployments are affected?

Affected release ranges are Contao 4.6.0 before 5.3.54, 5.4.0-RC1 before 5.7.17, and 6.0.0-RC1 before 6.0.6. The issue concerns existing sessions when a user changes their two-factor authentication setting.

3

How can I determine whether a session may still be valid after a 2FA change?

On an affected version, sessions created before a user enables or disables two-factor authentication are not invalidated by that change. A previously obtained session may therefore continue to work after the setting is changed.

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