{"id":"CVE-2026-128335","summary":"Contao before 5.3.54, 5.7.17, and 6.0.6 Session Invalidation Failure on 2FA Change","details":"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.","aliases":["GHSA-5mg3-mv6j-57wc"],"modified":"2026-11-15T10:45:20.371162462Z","published":"2026-11-13T09:33:39.011Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-613"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128335.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128335.json"},{"type":"ADVISORY","url":"https://github.com/contao/contao/releases/tag/5.3.54"},{"type":"ADVISORY","url":"https://github.com/contao/contao/releases/tag/5.7.17"},{"type":"ADVISORY","url":"https://github.com/contao/contao/releases/tag/6.0.6"},{"type":"ADVISORY","url":"https://github.com/contao/contao/security/advisories/GHSA-5mg3-mv6j-57wc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128335"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/contao-before-5.3.54-5.7.17-and-6.0.6-session-invalidation-failure-on-2fa-change"},{"type":"FIX","url":"https://github.com/contao/contao/commit/7618a5757347a30168139e74c7b326e3e296059d"},{"type":"FIX","url":"https://github.com/contao/contao/commit/7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e"},{"type":"FIX","url":"https://github.com/contao/contao/commit/843da308056402d94ae2dbb999959f9e2ce71fe1"},{"type":"ARTICLE","url":"https://github.com/contao/contao/blob/5.3.53/core-bundle/contao/library/Contao/User.php#L413-L446"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/contao/contao","events":[{"introduced":"c3e0c88e63095d83fd37fb96c4381de7658de4dc"},{"fixed":"4b4b69a14eb32775caf7ea3b15a38af6a38a85e7"},{"introduced":"c5e3841e5107ab36ae2bf7795fb8d51d3d30f88b"},{"fixed":"1ef9c449fecbac9bba7b107b016f0874148b8fd9"},{"introduced":"59d25c97f1ea650f1f3bf4232fac93dd4de54ba7"},{"fixed":"76ddadae9056acafc478be26426e555f3c66546e"},{"fixed":"7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e"},{"fixed":"7618a5757347a30168139e74c7b326e3e296059d"},{"fixed":"843da308056402d94ae2dbb999959f9e2ce71fe1"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"4.6.0"},{"fixed":"5.3.54"}]},{"strategy":"StandardRange","range":[{"introduced":"5.4.0-RC1"},{"fixed":"5.7.17"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"6.0.0-RC1"},{"fixed":"6.0.6"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"7618a5757347a30168139e74c7b326e3e296059d"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"843da308056402d94ae2dbb999959f9e2ce71fe1"}]},{"range":[{"fixed":"4b4b69a14eb32775caf7ea3b15a38af6a38a85e7"}],"source":"REFERENCES_TAG","original_tag":"5.3.54"},{"original_tag":"5.7.17","range":[{"fixed":"1ef9c449fecbac9bba7b107b016f0874148b8fd9"}],"source":"REFERENCES_TAG"},{"range":[{"fixed":"76ddadae9056acafc478be26426e555f3c66546e"}],"source":"REFERENCES_TAG","original_tag":"6.0.6"}]}}],"versions":["6.0.5","6.0.4","6.0.3","6.0.2","6.0.1","6.0.0","6.0.0-RC2","6.0.0-RC1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-128335.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}