{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.8.16"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a2260e4a62f21591e1a9ae9b11c7db07c6507766"
            },
            {
              "fixed": "5f080293a029d0d273eb9678d597c74ea86a3bcc"
            }
          ],
          "repo": "https://github.com/flarum/framework",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-613"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39924.json"
  },
  "details": "Flarum before 1.8.16 contains an improper session invalidation vulnerability that allows attackers who hold a valid session token to retain full account access after a victim changes their password, because the access_tokens table is never cleared on password change events. The TokensClearer::clearPasswordTokens() function only removes rows from the password_tokens table while leaving all active session cookies and API bearer tokens intact, including long-lived RememberAccessToken entries, and administrator-forced password resets via the user update endpoint are equally ineffective at revoking attacker-held sessions.",
  "id": "CVE-2026-39924",
  "modified": "2026-08-12T03:51:22.136443740Z",
  "published": "2026-08-05T14:40:27.741Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39924.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/flarum/framework/releases/tag/v1.8.16"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39924"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/flarum-session-persistence-via-improper-access-token-revocation"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/flarum/framework/pull/4546"
    },
    {
      "type": "FIX",
      "url": "https://github.com/flarum/framework/commit/5f080293a029d0d273eb9678d597c74ea86a3bcc"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/flarum/framework"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Flarum \u003c 1.8.16 Session Persistence via Improper Access Token Revocation"
}