LimeSurvey's expired reset-key bug makes calendar boundaries part of account security

LimeSurvey through 7.12.1+261125 contains an improper expiration check in Authentication::newPassword() and related user handling. CVE-2026-142254 allows an unauthenticated attacker who holds an old unused password-reset or invitation key to submit it during recurring monthly windows and set a new password for the account.

How the time check fails

The published description points to a date-difference calculation that ignores months and years. An expiration test based on that result can report a short elapsed interval when the real interval spans calendar boundaries. The attacker still needs a valid old key from a reset or invitation email, but that key should have expired long before the attempt.

The GHSA rates the issue 9.1 under CVSS v4.0 and notes high confidentiality and integrity impact with high attack complexity. The complexity comes from the key and timing requirements. Those requirements reduce broad opportunistic exploitation, but they do not remove the need to patch systems that send invitation or reset links.

What to do now

The GitHub advisory reviewed at publication time did not list a patched version. LimeSurvey operators should check the vendor's current release notes and apply the first fixed release available. Until then, invalidate pending password-reset and invitation tokens, shorten their lifetime, and require administrators to review accounts with recent password changes.

Look for reset-key use from an address or device that does not match the invitation recipient. Compare email delivery logs, web access logs, account password-change timestamps, and session creation around month-end or month-start boundaries. If an account was changed without the owner's action, disable it, revoke active sessions, and investigate mail access.

Fix the logic and the process

Expiration should use an absolute timestamp or a duration that accounts for every calendar component. Tests should cover month-end, leap years, daylight-saving transitions, and keys older than every permitted window. Invalidated, used, and superseded keys should be rejected directly.

Administrators should also expire unused invitations rather than leaving them dormant. The key is a credential. Its lifecycle needs the same logging and ownership as the account it can change.

References