CVE-2026-95754

Severity CVSS v4.0:
MEDIUM
Type:
CWE-285 Improper Authorization
Publication date:
22/09/2026
Last modified:
22/09/2026

Description

In MISP&amp;#39;s UsersController login() method, the pre-authentication database query used for the TOTP (two-factor authentication) verification branch did not include the User.disabled column in its SELECT fields list. The query selected only User.password, User.totp, and User.hotp_counter. When the TOTP branch subsequently accessed $unauth_user[&amp;#39;User&amp;#39;][&amp;#39;disabled&amp;#39;], the key was absent from the result set, producing a PHP &amp;#39;Undefined array key&amp;#39; warning and causing the expression to evaluate as null (falsy). As a result, the disabled-user guard in the TOTP branch was effectively a no-op: a disabled, TOTP-enrolled user could proceed to the TOTP verification step rather than being rejected at that point. <br /> <br /> The commit message explicitly states this was &amp;#39;harmless in practice&amp;#39; because the subsequent identify() call re-validates the user and would still reject a disabled account. <br /> <br /> The practical security impact is therefore minimal, limited to a very small information-disclosure difference in the login response (a TOTP prompt is presented instead of an immediate rejection) and a PHP warning in application logs.

References to Advisories, Solutions, and Tools