{"affected":[{"defaultStatus":"unaffected","ecosystem":"composer","packageName":"contao/core-bundle","product":"Contao","source":"CNA: VulnCheck","vendor":"Contao","versions":[{"lessThan":"5.3.54","status":"affected","version":"4.6.0","versionType":"semver"},{"lessThan":"5.7.17","status":"affected","version":"5.4.0-RC1","versionType":"semver"},{"lessThan":"6.0.6","status":"affected","version":"6.0.0-RC1","versionType":"semver"}]}],"cveId":"CVE-2026-128335","cwes":["CWE-613"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":2.1,"severity":"low","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":3.7,"severity":"low","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},{"score":2.1,"severity":"low","source":"NVD: disclosure@vulncheck.com","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":3.7,"severity":"low","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1794565093707,"publishedAt":1794562419011,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/contao/contao/security/advisories/GHSA-5mg3-mv6j-57wc"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/contao/contao/commit/7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/contao/contao/commit/7618a5757347a30168139e74c7b326e3e296059d"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/contao/contao/commit/843da308056402d94ae2dbb999959f9e2ce71fe1"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/contao/contao/releases/tag/5.3.54"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/contao/contao/releases/tag/5.7.17"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/contao/contao/releases/tag/6.0.6"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/contao/contao/blob/5.3.53/core-bundle/contao/library/Contao/User.php#L413-L446"},{"source":"CNA: VulnCheck","tags":["third-party-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"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/contao/contao/blob/5.3.53/core-bundle/contao/library/Contao/User.php#L413-L446"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/contao/contao/commit/7618a5757347a30168139e74c7b326e3e296059d"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/contao/contao/commit/7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/contao/contao/commit/843da308056402d94ae2dbb999959f9e2ce71fe1"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/contao/contao/releases/tag/5.3.54"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/contao/contao/releases/tag/5.7.17"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/contao/contao/releases/tag/6.0.6"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/contao/contao/security/advisories/GHSA-5mg3-mv6j-57wc"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/contao-before-5.3.54-5.7.17-and-6.0.6-session-invalidation-failure-on-2fa-change"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/contao/contao/commit/7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/contao/contao/commit/7618a5757347a30168139e74c7b326e3e296059d"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/contao/contao/commit/843da308056402d94ae2dbb999959f9e2ce71fe1"}],"revision":"4df7bceca6897753ebb59f9c06cc50c4bdd8f3c8ba58ab7be4cfb55353c02a27","sources":[{"modifiedAt":1794562419011,"name":"CNA: VulnCheck","retrievedAt":1794564865205,"url":"https://www.cve.org/CVERecord?id=CVE-2026-128335"},{"modifiedAt":1794565093707,"name":"NVD","retrievedAt":1794572258065,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128335"}],"ssvc":null,"status":"published","title":"Contao before 5.3.54, 5.7.17, and 6.0.6 Session Invalidation Failure on 2FA Change","updatedAt":1794572258065}