CVE-2026-101864 in EUSurvey
Summary
by MITRE • 11/24/2026
EUSurvey through 1.6, prior to commit a4161a9, contains a weak password recovery mechanism that allows attackers who obtain a still-valid password-reset link to take over accounts that use a local EUSurvey password. The /auth/reset/ flow checks only the age of a reset code and does not invalidate it after the password is changed, and issuing a newer link leaves earlier links active, so a used or superseded link remains valid for up to 24 hours from issuance and can be reused to set a new password, sign in as the affected user, and lock that user out.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/24/2026
The vulnerability identified within EUSurvey versions prior to commit a4161a9 represents a critical flaw in the authentication subsystem's password recovery workflow. This weakness stems from an insufficient invalidation mechanism for reset tokens, allowing attackers who intercept or obtain a valid password-reset link to hijack user accounts that rely on local credentials rather than external identity providers. The core technical failure lies in how the /auth/reset/ endpoint manages state and token lifecycle. Specifically, the system validates the temporal age of the reset code but fails to check whether the associated account's current password hash has changed since the token was generated. This design oversight means that if a legitimate user successfully changes their password using one reset link, any previously issued or concurrently active reset links for that same account remain valid and executable against the new credentials.
From an operational perspective, this flaw enables several malicious scenarios with significant impact on confidentiality and availability. An attacker who has obtained a still-valid reset link can reuse it to set a new password for the target account, effectively taking full control of the user's identity within the application. This action not only grants unauthorized access but also locks out the legitimate owner by invalidating their current session or preventing future logins with their original credentials. Furthermore, because issuing a newer reset link does not invalidate earlier ones, multiple active tokens can exist simultaneously for a single account. This increases the attack surface significantly, as any intercepted email notification containing an older reset URL remains functional for up to twenty-four hours from its initial issuance, providing ample time for exploitation even after the user has attempted to secure their account.
This vulnerability aligns with CWE-640, Weak Password Recovery Mechanism for Forgotten Password, which describes flaws where the recovery process does not properly invalidate previous tokens or fails to ensure that a reset operation is tied exclusively to the current state of the account credentials. Additionally, it relates to CWE-384, Session Fixation, as the attacker effectively fixes their access by leveraging stale session-related data (the reset token) against an updated credential set. In terms of MITRE ATT&CK framework mapping, this behavior facilitates Account Manipulation techniques where adversaries modify existing accounts to maintain persistent access or escalate privileges without needing to exploit a separate authentication bypass flaw directly at login time. The lack of atomicity in the password change process allows for race conditions and token reuse that undermine the fundamental security guarantee of one-time-use recovery codes.
To mitigate this vulnerability, developers must implement strict token invalidation policies upon any successful credential update. When a user changes their password through the reset flow or via standard account settings, all active reset tokens associated with that specific user ID should be immediately revoked from the database or cache store. This ensures that only the most recent authentication intent is honored and prevents legacy links from being replayed against new credentials. Additionally, implementing short-lived token expiration combined with single-use semantics provides a robust defense-in-depth strategy. It is also advisable to log all password reset events and notify users via secure channels when their account security state changes, enabling rapid detection of unauthorized access attempts. Regular auditing of authentication logs for multiple concurrent resets or failed login attempts following a successful change can further aid in identifying potential exploitation activities.