{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.6.0"
                  },
                  {
                    "fixed": "5.3.54"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "5.4.0-RC1"
                  },
                  {
                    "fixed": "5.7.17"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "6.0.0-RC1"
                  },
                  {
                    "fixed": "6.0.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "7618a5757347a30168139e74c7b326e3e296059d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "843da308056402d94ae2dbb999959f9e2ce71fe1"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "5.3.54",
                "range": [
                  {
                    "fixed": "4b4b69a14eb32775caf7ea3b15a38af6a38a85e7"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "5.7.17",
                "range": [
                  {
                    "fixed": "1ef9c449fecbac9bba7b107b016f0874148b8fd9"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "6.0.6",
                "range": [
                  {
                    "fixed": "76ddadae9056acafc478be26426e555f3c66546e"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "c3e0c88e63095d83fd37fb96c4381de7658de4dc"
            },
            {
              "fixed": "4b4b69a14eb32775caf7ea3b15a38af6a38a85e7"
            },
            {
              "introduced": "c5e3841e5107ab36ae2bf7795fb8d51d3d30f88b"
            },
            {
              "fixed": "1ef9c449fecbac9bba7b107b016f0874148b8fd9"
            },
            {
              "introduced": "59d25c97f1ea650f1f3bf4232fac93dd4de54ba7"
            },
            {
              "fixed": "76ddadae9056acafc478be26426e555f3c66546e"
            },
            {
              "fixed": "7e7c821ce6c41c02ae85b3d9f8eff5039de3fe1e"
            },
            {
              "fixed": "7618a5757347a30168139e74c7b326e3e296059d"
            },
            {
              "fixed": "843da308056402d94ae2dbb999959f9e2ce71fe1"
            }
          ],
          "repo": "https://github.com/contao/contao",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5mg3-mv6j-57wc"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-128335",
  "modified": "2026-11-15T10:30:31.132793584Z",
  "published": "2026-11-13T09:33:39.011Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Contao before 5.3.54, 5.7.17, and 6.0.6 Session Invalidation Failure on 2FA Change"
}