vulnerability-lookup's API self-registration endpoint (POST /api/user/) returned the newly created account's API key in the HTTP response body. On an instance with self-registration enabled, an unauthenticated attacker could register an email address they do not own and receive the associated API key. While the API key is rejected while the account remains unconfirmed, the key was not rotated when the account was subsequently confirmed through the email confirmation link. Consequently, an attacker who registered a victim's email address retained a valid API key that began authenticating successfully as soon as the legitimate owner of that address confirmed the account, granting the attacker access to the victim's account without requiring the password or second factor. The vulnerability resides in the API user registration handler (website/web/api/v1/user.py) and the user model's account confirmation logic (website/models/user.py). The primary precondition is that self-registration is enabled on the instance. The security impact is an authentication bypass leading to account takeover: an attacker can gain authenticated access to a user account they do not own, bypassing password and second-factor authentication.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · Attack vector: NetworkA short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
Affected products appear after NVD analysis.