Description
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.
Published: 2026-08-05
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Flarum before version 1.8.16 contains a flaw that allows an attacker who is already in possession of a valid session token or API bearer token to continue accessing the account after the account owner changes their password. The flaw stems from the TokensClearer::clearPasswordTokens() function, which removes rows from the password_tokens table but does not clear the access_tokens table or invalidate session cookies, leaving RememberAccessToken entries and other long‑lived tokens active. Because of this, a compromised session remains valid and an attacker can retain full account access, effectively bypassing the intended protection of a password reset.

Affected Systems

The vulnerability affects all installations of the Flarum Framework running a version older than 1.8.16. Users who have not upgraded to the latest release are at risk while the application continues to store active session cookies and API bearer tokens after a password change.

Risk and Exploitability

Based on the description, the likely attack vector involves an attacker who has already obtained a valid session or API token, possibly through session hijacking, XSS, or compromised credentials. The CVSS score of 7.6 indicates high severity, but no EPSS score is available, so the estimated likelihood of exploitation is unknown. The vulnerability is not listed in CISA’s KEV catalog, suggesting it has not yet been widely exploited. Attackers require legitimate possession of a session token, which can be obtained via session hijacking, XSS, or compromised credentials, to exploit the flaw. Once in possession, they can maintain account access even after the legitimate user resets their password, rendering the password reset ineffective for revoking access.

Generated by OpenCVE AI on August 5, 2026 at 17:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official patch by upgrading to Flarum Framework version 1.8.16 or newer, which incorporates proper access‑token revocation during password changes.
  • Delete all entries from the access_tokens table belonging to affected user accounts to immediately revoke existing session and API tokens.
  • Force a logout for all accounts by regenerating session identifiers, achievable through the admin panel or by clearing the session storage.
  • Review the authentication logic to address the identified credential management flaw (CWE‑613) and ensure future releases implement comprehensive token invalidation.

Generated by OpenCVE AI on August 5, 2026 at 17:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Flarum flarum
CPEs cpe:2.3:a:flarum:flarum:*:*:*:*:*:*:*:*
Vendors & Products Flarum flarum

Fri, 07 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Flarum
Flarum framework
Vendors & Products Flarum
Flarum framework

Wed, 05 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Flarum < 1.8.16 Session Persistence via Improper Access Token Revocation
Weaknesses CWE-613
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 7.6, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:49:48.743Z

Reserved: 2026-04-07T20:57:06.210Z

Link: CVE-2026-39924

cve-icon Vulnrichment

Updated: 2026-08-05T15:48:52.839Z

cve-icon NVD

Status : Received

Published: 2026-08-05T16:16:56.137

Modified: 2026-08-05T16:16:56.137

Link: CVE-2026-39924

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T09:30:11Z

Weaknesses
  • CWE-613

    Insufficient Session Expiration