Contao before 5.3.54, 5.7.17, and 6.0.6 Session Invalidation Failure on 2FA Change
CVE-2026-128335Published 13 Nov 2026, 09:33 UTC
Real-world risk
0.2/ 10Low
Routine
If the vulnerable configuration applies to you: 0.5
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| contaoNiche | >= 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 |
What to do
Update to a fixed version: 5.3.54, 5.7.17, 6.0.6.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 27), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.085
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.0851 × threat 0.850.217
- Rounded to one decimal between 0.1 and 100.2
Exploitation and evidence timeline
- 13 Nov 2026 Published
- 3 Dec 2026 Risk 0.2 (cvss fallback)
Weakness
CWE-613
References
- https://github.com/contao/contao/security/advisories/GHSA-5mg3-mv6j-57wcvendor-advisory
- https://github.com/contao/contao/commit/7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1epatch
- https://github.com/contao/contao/commit/7618a5757347a30168139e74c7b326e3e296059dpatch
- https://github.com/contao/contao/commit/843da308056402d94ae2dbb999959f9e2ce71fe1patch
- https://github.com/contao/contao/releases/tag/5.3.54release-notes
- https://github.com/contao/contao/releases/tag/5.7.17release-notes
- https://github.com/contao/contao/releases/tag/6.0.6release-notes
- https://github.com/contao/contao/blob/5.3.53/core-bundle/contao/library/Contao/User.php#L413-L446technical-description
- https://www.vulncheck.com/advisories/contao-before-5.3.54-5.7.17-and-6.0.6-session-invalidation-failure-on-2fa-changethird-party-advisory
- CVE-2026-128335 on CVE.org