CVE-2026-145249

Source
https://cve.org/CVERecord?id=CVE-2026-145249
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145249.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-145249
Published
2026-12-04T17:41:22Z
Modified
2026-12-04T19:00:13Z
Severity
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
vulnerability-lookup API self-registration returns unconfirmed account API key enabling authentication bypass after email confirmation
Details

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.

Database specific
{
    "cna_assigner":  "CIRCL",
    "cwe_ids":  [
        "CWE-287"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145249.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "1.4.0"
                        },
                        {
                            "fixed":  "7.2.1"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "1.4.0"
                        },
                        {
                            "fixed":  "7.2.1"
                        }
                    ],
                    "source":  "CPE_FIELD",
                    "strategy":  "CPEApplicability"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/vulnerability-lookup/vulnerability-lookup

Affected ranges

Type
GIT
Repo
https://github.com/vulnerability-lookup/vulnerability-lookup
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "7400ad26681369052131ad231463b13d491890c9"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v7.2.1",
            "range":  [
                {
                    "fixed":  "84807065e85727680bb5988156b3733193cf7efd"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.5.0
v0.6.0
v0.7.0
v1.*
v1.0.0
v1.1.0
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v2.*
v2.1.0
v2.10.0
v2.10.1
v2.12.0
v2.13.0
v2.15.0
v2.16.0
v2.16.1
v2.17.0
v2.18.0
v2.19.0
v2.2.0
v2.20.0
v2.21.0
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v2.7.0
v2.7.1
v2.9.0
v3.*
v3.0.0
v3.0.1
v4.*
v4.0.0
v4.1.0
v4.2.0
v4.3.0
v4.4.0
v4.5.0
v4.6.0
v5.*
v5.0.0
v5.1.0
v5.2.0
v5.3.0
v5.4.0
v5.5.0
v6.*
v6.0.0
v6.1.0
v6.2.0
v6.2.1
v6.3.0
v6.4.0
v6.4.1
v7.*
v7.0.0
v7.1.0
v7.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145249.json"