CVE-2026-128335 Contao before 5.3.54, 5.7.17, and 6.0.6 Session Invalidation Failure on 2FA Change
LowCVSS 2.1
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| contao/core-bundle | >= 4.6.0, < 5.3.54; >= 5.4.0-RC1, < 5.7.17; >= 6.0.0-RC1, < 6.0.6 | 5.3.54, 5.7.17, 6.0.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| contao/core-bundle | >= 4.6.0, < 5.3.54 | 5.3.54 |
| contao/core-bundle | >= 5.4.0-RC1, < 5.7.17 | 5.7.17 |
| contao/core-bundle | >= 6.0.0-RC1, < 6.0.6 | 6.0.6 |
References
- GitHub Security Advisory (GHSA-5mg3-mv6j-57wc) vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- Contao 5.3.54 Release Notes release-notes
- Contao 5.7.17 Release Notes release-notes
- Contao 6.0.6 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: Contao before 5.3.54, 5.7.17, and 6.0.6 Session Invalidation Failure on 2FA Change third-party-advisory
- ENISA EUVD EUVD-2026-125042 third-party-advisory