SecurityContext

CVE-2026-128335: Contao - Two-Factor Authentication Bypass

  • Cve: CVE-2026-128335
  • Name: Contao - Two-Factor Authentication Bypass
  • 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.
  • Impact: Attackers with an existing session retain access even after the owner enables or disables 2FA, potentially bypassing two-factor authentication.
  • Remediation: Upgrade to 5.3.54, 5.7.17, 6.0.6 or latest available version.
  • Vulnerability type: broken_authentication
  • Requirement type: logged_in
  • Requirements: Attacker must already hold a valid user session
  • Labels source: securitycontext
  • Severity: low
  • Cvss score: 3.7
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
  • Epss score: 0.00323
  • Epss percentile: 0.25556
  • Assignee: [email protected]
  • Published at: 2026-11-13T10:18:13Z
  • Age in days: 11
  • Modified at: 2026-11-13T17:17:27Z
  • Patch available: yes
  • References total: 9
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-128335
  • Nvd status: deferred
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-613DEPRECATED: Insufficient Session Expiration

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/contao/contao/blob/5.3.53/core-bundle/contao/library/Contao/User.php#L413-L446
https://github.com/contao/contao/commit/7618a5757347a30168139e74c7b326e3e296059d
https://github.com/contao/contao/commit/7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e
https://github.com/contao/contao/commit/843da308056402d94ae2dbb999959f9e2ce71fe1
https://github.com/contao/contao/releases/tag/5.3.54
https://github.com/contao/contao/releases/tag/5.7.17
https://github.com/contao/contao/releases/tag/6.0.6
https://github.com/contao/contao/security/advisories/GHSA-5mg3-mv6j-57wc
https://www.vulncheck.com/advisories/contao-before-5.3.54-5.7.17-and-6.0.6-session-invalidation-failure-on-2fa-change

Products

ProductAffectedPlatform boundSourcesUrl
contao:contao>= 6.0.0-rc1, < 6.0.6; >= 5.4.0-rc1, < 5.7.17; >= 4.6.0, < 5.3.54nocna/v1/products/contao/contao

Projects

RepositoryLink kindsIndexedUrl
contao/contaocommit, fix, releases, security_advisoryyes/v1/repositories/contao/contao

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 1935
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports