MISP prior to version 2.5.52 contains a type confusion vulnerability in the authentication key creation endpoint. An authenticated user with permission to create authentication keys can exploit this flaw by submitting a floating-point value as the target user identifier. Due to inconsistent handling of this value between authorization and persistence layers, the attacker can generate an API key for another user with a consecutive numeric identifier. This allows unauthorized access to that user's data and operations within the MISP instance.