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

- Severity: Low 2.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-11-13T09:33:39.011Z
- Modified: 2026-11-13T17:17:27.833Z
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Contao Contao: from 4.6.0 before 5.3.54; from 5.4.0-RC1 before 5.7.17; from 6.0.0-RC1 before 6.0.6

## Every score

- VulnCheck: CVSS:4.0 2.1 Low `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/contao/contao/security/advisories/GHSA-5mg3-mv6j-57wc> (vendor-advisory)
- <https://github.com/contao/contao/commit/7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e> (patch)
- <https://github.com/contao/contao/commit/7618a5757347a30168139e74c7b326e3e296059d> (patch)
- <https://github.com/contao/contao/commit/843da308056402d94ae2dbb999959f9e2ce71fe1> (patch)
- <https://github.com/contao/contao/releases/tag/5.3.54> (release-notes)
- <https://github.com/contao/contao/releases/tag/5.7.17> (release-notes)
- <https://github.com/contao/contao/releases/tag/6.0.6> (release-notes)
- <https://github.com/contao/contao/blob/5.3.53/core-bundle/contao/library/Contao/User.php#L413-L446> (technical-description)
- <https://www.vulncheck.com/advisories/contao-before-5.3.54-5.7.17-and-6.0.6-session-invalidation-failure-on-2fa-change> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-128335](https://www.cve.org/CVERecord?id=CVE-2026-128335), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-128335](https://nvd.nist.gov/vuln/detail/CVE-2026-128335), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-128335 · Whole record: https://cve.day/CVE-2026-128335.json · Rebuilt by cve.day 2026-11-25T22:59:50.696Z
