Vulnerability-Lookup - Race Condition in Account Recovery Token Consumption Allows Password Takeover
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| vulnerability-lookup | vulnerability-lookup | up to 6.2.0 | — | No fix listed | CNA |
- vulnerability-lookup Vendorvulnerability-lookup Affected up to 6.2.0 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-101041
- 2026-10-03 Alias added: GHSA-j3gx-2q66-wg27
References
Patch 2
More vulnerability-lookup vulnerabilities
- 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-51493 Stored Cross-Site Scripting (XSS) via Unescaped CNA Reference Tags in vulnerability-lookup CVSS 4.0MEDIUM 6.1
- TI-2026-51523 Authorization Bypass in SSE Pub/Sub Allows Unconfirmed Accounts to Access Stream Events in vulnerability-lookup CVSS 4.0MEDIUM 5.3
- TI-2026-85793 Memory amplification in Vulnerability-Lookup webhook templates CVSS 4.0MEDIUM 5.3
- TI-2026-51550 Server-side request forgery in vulnerability-lookup CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-101041 · CVE Program
- CVE-2026-101041 · NVD
- FIRST EPSS
- GHSA-j3gx-2q66-wg27 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences