CVE-2026-128335
Contao 4.6.0 before 5.3.54, 5.4.0-RC1 before 5.7.17, and 6.0.0-RC1 …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/contao/contao/blob/5.3.53/core-bundle/contao/library/Contao/User.php#L413-L446
- github.com/contao/contao/commit/7618a5757347a30168139e74c7b326e3e296059d
- github.com/contao/contao/commit/7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e
- github.com/contao/contao/commit/843da308056402d94ae2dbb999959f9e2ce71fe1
- github.com/contao/contao/releases/tag/5.3.54
- github.com/contao/contao/releases/tag/5.7.17
- github.com/contao/contao/releases/tag/6.0.6
- github.com/contao/contao/security/advisories/GHSA-5mg3-mv6j-57wc
- nvd.nist.gov/vuln/detail/CVE-2026-128335
- cve.org/CVERecord?id=CVE-2026-128335
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.