Authentication bypass in vulnerability-lookup self-registration
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.
Summary
vulnerability-lookup from 1.4.0 before 7.2.1 is affected. The self-registration endpoint POST /api/user/ returns the new account's API key in the response, and the key is not rotated when the account is confirmed (CWE-287). On instances with self-registration enabled, an unauthenticated attacker can register a victim's email address, keep the key, and use it once the owner confirms the account, gaining access without the password or second factor.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| vulnerability-lookup | vulnerability-lookup | 1.4.0 to before 7.2.1 | 7.2.1 | Patch available | CNA |
- vulnerability-lookup Vendorvulnerability-lookup Affected 1.4.0 to before 7.2.1 Fixed in 7.2.1 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vulnerability-lookup:vulnerability-lookup:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:vulnerability-lookup:vulnerability-lookup:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Update vulnerability-lookup to 7.2.1, the fixed version. The sources list no advisory identifier for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA vulnerability-lookup (vulnerability-lookup) Fixed in 7.2.1
Timeline
- 2026-12-04 Threatist record created from CVE-2026-145249
- 2026-12-04 CVSS score changed · CNA
- 2026-12-04 Affected versions changed · CNA
References
Patch 1
Other 1
More vulnerability-lookup vulnerabilities
- TI-2026-92012 Feed or API key grants full web session in vulnerability-lookup CVSS 4.0HIGH 7.8
- TI-2026-51549 Reusable Account Activation and Recovery Tokens Allow Repeated Account Takeover in vulnerability-lookup CVSS 4.0HIGH 8.8
- TI-2026-50987 Server-side request forgery in vulnerability-lookup CVSS 4.0MEDIUM 6.9
- TI-2026-65074 Vulnerability-Lookup - Race Condition in Account Recovery Token Consumption Allows Password Takeover CVSS 4.0MEDIUM 6.3
- TI-2026-51493 Stored Cross-Site Scripting (XSS) via Unescaped CNA Reference Tags in vulnerability-lookup CVSS 4.0MEDIUM 6.1
- TI-2026-92013 Session persists after password change in vulnerability-lookup CVSS 4.0MEDIUM 5.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences