Submit #1004891: nocodb < 2026.08.1 Race Conditioninfo

Titelnocodb < 2026.08.1 Race Condition
Beschreibungusers.service.ts handled a reset by reading the user row keyed on reset_password_token, checking the expiry and the account's auth provider, hashing the submitted password, and only then issuing an unconditional update that cleared the token. The read and the clearing write were neither wrapped in a transaction nor expressed as a conditional update, so nothing tied the clear to the row state that had been validated. Two deliberately slow bcrypt operations, salt generation and hashing at cost factor 10, sat between the two, holding the window open long enough that a batch of simultaneously released requests all passed validation before any of them cleared the token; each then went on to write a password, emit a password-reset audit event and return success. Sequential replay of a consumed token was rejected correctly — the defect was strictly concurrent.
Quelle⚠️ https://github.com/nocodb/nocodb/issues/14684
Benutzer
 ZAST.AI (UID 87884)
Einreichung29.09.2026 10:43 (vor 1 Monat)
Moderieren25.10.2026 10:23 (26 days later)
StatusAkzeptiert
VulDB Eintrag426187 [NocoDB bis 2026.08.0 Password-Reset Flow users.service.ts Race Condition]
Punkte20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!