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.
Metrics
Affected Vendors & Products
No advisories yet.
Solution
The registration response no longer includes the API key; it is marshalled with a model that excludes the apikey field. Additionally, when an account that never had a password is confirmed for the first time, a new API key is generated in the same database UPDATE, ensuring that any key issued before email ownership was proven is invalidated. Password resets of established accounts retain their existing key to avoid disrupting API clients.
Workaround
No workaround given by the vendor.
Fri, 04 Dec 2026 18:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | vulnerability-lookup API self-registration returns unconfirmed account API key enabling authentication bypass after email confirmation | |
| First Time appeared |
Vulnerability-lookup
Vulnerability-lookup vulnerability-lookup |
|
| Weaknesses | CWE-287 | |
| CPEs | cpe:2.3:a:vulnerability-lookup:vulnerability-lookup:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Vulnerability-lookup
Vulnerability-lookup vulnerability-lookup |
|
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CIRCL
Published:
Updated: 2026-12-04T17:56:11.914Z
Reserved: 2026-12-04T17:41:15.874Z
Link: CVE-2026-145249
No data.
Status : Received
Published: 2026-12-04T18:17:38.103
Modified: 2026-12-04T18:17:38.103
Link: CVE-2026-145249
No data.
OpenCVE Enrichment
No data.