CVE-2026-101041
published medium CVSS 4.0 · 6.3Vulnerability-Lookup - Race Condition in Account Recovery Token Consumption Allows Password Takeover
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vulnerability-lookup | — | vulnerability-lookup0 through 6.2.0 | Affected | Not stated | CIRCL |
Description
The account recovery (password reset) functionality in the vulnerability-lookup web application contains a time-of-check-to-time-of-use (TOCTOU) race condition in the consumption of single-use recovery tokens. The original implementation verified the token nonce against the stored digest and then consumed (cleared) it in separate database operations. Two concurrent HTTP requests presenting the same valid recovery token could both pass the verification check before either transaction committed, allowing both to set their own password on the target account. The last transaction to commit overwrites the first, enabling an attacker who possesses a valid recovery token to replace the legitimate user's password with one of their choosing. A secondary defect in the same endpoint (confirm_account) allowed a valid recovery link to be used to set an empty or trivially short password (e.g., three characters). The view handler performed only a manual equality comparison between the two password fields and never invoked the form's validation logic, bypassing the intended minimum-length and complexity constraints. The affected component is the user account recovery endpoint (/user/confirm_account/<token>) and the associated token verification and consumption logic in the User model (website/models/user.py) and the view layer (website/web/views/user.py).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- CIRCL · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vulnerability-lookup | vulnerability-lookup | 0 through 6.2.0 (affected · semver) | CIRCL · cna |
Weaknesses
2- CWE-362 CWE-362 Concurrency: Race Condition
- CWE-20 CWE-20 Improper Input Validation
References
2- Security patch https://github.com/vulnerability-lookup/vulnerability-lookup/commit/5462bab62d76df852619e01eb67da36c023c8c40
- Security patch https://github.com/vulnerability-lookup/vulnerability-lookup/commit/ad6f22882975516adf193a1a920aaa54025c71d4
Provider assertions
2CIRCL · cna
Vulnerability-Lookup - Race Condition in Account Recovery Token Consumption Allows Password Takeover
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7a055833fd426f95dd1e5b22a5cb67b0ea13ae46eb995beba4895adc0ab12347
- Ingested
- 30 Sep 2026, 15:18:33 UTC
- Source record
- Official CVE record