CVE-2026-32602: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in homarr-labs homarr
Homarr is an open-source dashboard. Prior to 1.57.0, the user registration endpoint (/api/trpc/user.register) is vulnerable to a race condition that allows an attacker to create multiple user accounts from a single-use invite token. The registration flow performs three sequential database operations without a transaction: CHECK, CREATE, and DELETE. Because these operations are not atomic, concurrent requests can all pass the validation step (1) before any of them reaches the deletion step (3). This allows multiple accounts to be registered using a single invite token that was intended to be single-use. This vulnerability is fixed in 1.57.0.
AI Analysis
Technical Summary
The vulnerability in homarr (CVE-2026-32602) involves a time-of-check to time-of-use (TOCTOU) race condition in the user registration endpoint (/api/trpc/user.register). The registration process performs three sequential database operations—CHECK, CREATE, and DELETE—without wrapping them in a transaction, allowing concurrent requests to bypass the single-use restriction on invite tokens. This enables an attacker to register multiple accounts using one invite token intended for single use. The vulnerability affects versions prior to 1.57.0 and is resolved in version 1.57.0.
Potential Impact
An attacker can exploit this race condition to create multiple user accounts from a single-use invite token, potentially bypassing intended access controls. The impact is limited to low confidentiality and integrity loss, with no availability impact reported. The CVSS score is 4.2 (medium severity), reflecting network attack vector, high attack complexity, low privileges required, no user interaction, and limited impact on confidentiality and integrity.
Mitigation Recommendations
Upgrade homarr to version 1.57.0 or later, where this race condition vulnerability is fixed. Since the fix involves making the registration process atomic, applying this official update fully mitigates the issue. Patch status is confirmed by the vendor's versioning information. No additional mitigations are indicated.
CVE-2026-32602: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in homarr-labs homarr
Description
Homarr is an open-source dashboard. Prior to 1.57.0, the user registration endpoint (/api/trpc/user.register) is vulnerable to a race condition that allows an attacker to create multiple user accounts from a single-use invite token. The registration flow performs three sequential database operations without a transaction: CHECK, CREATE, and DELETE. Because these operations are not atomic, concurrent requests can all pass the validation step (1) before any of them reaches the deletion step (3). This allows multiple accounts to be registered using a single invite token that was intended to be single-use. This vulnerability is fixed in 1.57.0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in homarr (CVE-2026-32602) involves a time-of-check to time-of-use (TOCTOU) race condition in the user registration endpoint (/api/trpc/user.register). The registration process performs three sequential database operations—CHECK, CREATE, and DELETE—without wrapping them in a transaction, allowing concurrent requests to bypass the single-use restriction on invite tokens. This enables an attacker to register multiple accounts using one invite token intended for single use. The vulnerability affects versions prior to 1.57.0 and is resolved in version 1.57.0.
Potential Impact
An attacker can exploit this race condition to create multiple user accounts from a single-use invite token, potentially bypassing intended access controls. The impact is limited to low confidentiality and integrity loss, with no availability impact reported. The CVSS score is 4.2 (medium severity), reflecting network attack vector, high attack complexity, low privileges required, no user interaction, and limited impact on confidentiality and integrity.
Mitigation Recommendations
Upgrade homarr to version 1.57.0 or later, where this race condition vulnerability is fixed. Since the fix involves making the registration process atomic, applying this official update fully mitigates the issue. Patch status is confirmed by the vendor's versioning information. No additional mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-12T14:54:24.269Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d3ce180a160ebd92c09cc8
Added to database: 4/6/2026, 3:15:36 PM
Last enriched: 4/6/2026, 3:31:13 PM
Last updated: 4/7/2026, 5:41:57 AM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.