Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain victim's Flarum session token via phishing or XSS
-
DeliveryAuthenticate to forum using stolen token
-
ExploitVictim detects intrusion and changes account password
-
Executionaccess_tokens table left uncleared by password change handler
-
PersistAttacker's token remains fully valid
-
ImpactRetain persistent authenticated access to victim account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | The attacker must first acquire a valid session token or API bearer token for the target account through a separate prior compromise - credential theft, phishing, session hijacking, or XSS are all viable precursors. No special non-default Flarum configuration is required beyond the attacker already holding that initial token; any Flarum instance prior to v1.8.16 with the default session management is affected. The 'remember me' feature (which generates long-lived RememberAccessToken entries) extends the window of persistent unauthorized access but is not strictly required for exploitation. Exploitation is limited by the AC:H prerequisite: the initial token acquisition is a hard dependency that reduces the at-scale risk significantly. Victims who attempt recovery by requesting an administrator-forced password reset via the user update endpoint receive no protection, as that code path also fails to clear the access_tokens table. |
| Impact | The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N) accurately characterizes this as a high-impact but conditionally exploitable vulnerability. AC:H is the critical limiting factor: the attacker must first successfully obtain a valid session token through a separate prior compromise event before this vulnerability becomes relevant. This makes it a post-compromise persistence mechanism, not an initial access vector - the attacker has already breached the account, and this flaw prevents the victim from evicting them. No CISA KEV listing is present, no POC has been publicly identified, and no EPSS data was provided, so mass or opportunistic exploitation is not currently confirmed. The real-world risk is concentrated in scenarios of targeted account takeover where the victim's natural recovery action (password change) is expected to terminate attacker access but does not. The high VC and VI scores are justified given that retained session tokens grant full read/write access to the account and its privileges. The absence of an availability impact (VA:N) is consistent with the description - this is an access-retention flaw, not a denial of service. |
| Exploit ScenarioDerived | An attacker who previously obtained a valid Flarum session token through credential stuffing, phishing, or an XSS-based session hijack discovers that the victim has changed their password to recover their account. Because the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Session persistence after password change in Flarum before 1.8.16 allows an attacker who already holds a valid session token to maintain full account access indefinitely, even after the victim resets their password. The TokensClearer::clearPasswordTokens() function clears only the password_tokens table and never touches the access_tokens table, so all active session cookies, API bearer tokens, and long-lived RememberAccessToken entries survive both user-initiated and administrator-forced password resets. No public exploit has been identified at time of analysis; vendor-released patch v1.8.16 resolves the issue.
RemediationAI
Upgrade Flarum to version 1.8.16 or later, available at https://github.com/flarum/framework/releases/tag/v1.8.16. This release includes PR #4546 (commit 5f080293a029d0d273eb9678d597c74ea86a3bcc) which specifically fixes the access_tokens table not being cleared on password change. The same release also addresses a related expiry-check bypass on password reset token submission (PR #4545) and stale token cleanup (PR #4547), making the full upgrade strongly advisable over cherry-picking individual fixes. If immediate upgrade is not possible, a targeted compensating control is to manually delete all rows from the access_tokens table in the Flarum database for any user account suspected of compromise - note this will log out all of that user's active sessions including legitimate ones. Forum-wide deletion of all access_tokens rows is a more disruptive but effective interim measure that forces all users to re-authenticate; the trade-off is operational disruption to all active sessions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Flarum is a PHP-based open-source forum framework (CPE: cpe:2.3:a:flarum:flarum_framework:*:*:*:*:*:*:*:*). The vulnerability is rooted in CWE-613 (Insufficient Session Expiration): Flarum maintains two logically separate database stores - password_tokens for password-reset flow tokens and access_tokens for active authenticated sessions including persistent 'remember me' entries (RememberAccessToken). The password change event handler invokes TokensClearer::clearPasswordTokens(), which exclusively targets the password_tokens table. Because the access_tokens table is never cleared on credential change, any session token or API bearer token obtained by an attacker prior to the password reset remains cryptographically valid and grants full authenticated API access indefinitely. This flaw applies equally to administrator-forced password resets issued via the user update endpoint, meaning the standard administrative remediation path is also ineffective.
Know when Flarum gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
AV:N for remote exploitation via network token reuse; AC:H for mandatory prior session token acquisition; PR:L for required authenticated session; no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Flarum before v1.8.16 contains a privilege persistence flaw where attackers who obtain any valid user session can maintain indefinite access even after the victim resets their password, rendering standard account recovery procedures ineffective. For any organization operating Flarum, this vulnerability means that password resets-a fundamental control for incident response-cannot be relied upon to evict compromised attackers from user accounts.
Apply vendor patch v1.8.16. As an interim measure only, manually clear all active sessions and access tokens system-wide, though note this is operationally intensive and password reset alone provides no protection against this vulnerability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp
Unauthenticated account takeover in the FriendsOfFlarum OAuth extension (fof/oauth) for Flarum, affecting versions prior
Flarum is a forum software for building communities. Rated critical severity (CVSS 10.0), this vulnerability is remotely
Account takeover in Flarum forum software before 1.8.16 lets remote unauthenticated attackers reuse expired password res
Flarum before 0.1.0-beta.9 allows CSRF against all POST endpoints, as demonstrated by changing admin settings. Rated hig
Flarum is a forum software for building communities. Rated medium severity (CVSS 4.3), this vulnerability is remotely ex
User/Command/ConfirmEmailHandler.php in Flarum before 0.1.0-beta.8 mishandles invalidation of user email tokens. Rated h
Flarum is an open source forum software. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable, low
Unauthenticated information disclosure in Flarum Extension Manager 2.0.0-beta.1 through 2.0.0-beta.7 allows remote attac
Flarum is open-source forum software. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploitable, no a
Flarum is a forum software for building communities. Rated medium severity (CVSS 5.4), this vulnerability is remotely ex
Flarum is an open source discussion platform. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitab
EUVD-2026-53392
GHSA-4x2h-wcjq-p974
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB