cvelo
P3 · MediumCVSS 5.1

vulnerability-lookup API self-registration returns unconfirmed account API key enabling authentication bypass after email confirmation

  • CVE-2026-145249
  • EUVD-2026-144556

Summary

The vulnerability-lookup API self-registration endpoint returned the new account's API key in the response body. On instances with self-registration enabled, an unauthenticated attacker could register an email address they do not own and obtain that key. The key was rejected while the account stayed unconfirmed, but it was not rotated when the legitimate owner confirmed the account through the email link, so the attacker's key began working at that point. This gives account takeover without the password or second factor. The flaw is in the user registration handler and the account confirmation logic. CVSS score is 5.1, and the record is not on the CISA known exploited list.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

  • vulnerability-lookup

    • If you run a version from 1.4.0 to before 7.2.1update to 7.2.1 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • vulnerability-lookup

    Affected versionsFixed in
    from 1.4.0 to before 7.2.17.2.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.