---
id: CVE-2026-72584
title: >-
  A time-of-check/time-of-use (TOCTOU) race condition in fastschema through
  v0.15.1 allows an unauthenticated remote attacker to bypass the OTP attempt
  limit on the account recovery flow, enabling brute-force attacks on 6-digit
  OTP codes.
summary: >-
  A time-of-check/time-of-use (TOCTOU) race condition in fastschema through
  v0.15.1 allows an unauthenticated remote attacker to bypass the OTP attempt
  limit on the account recovery flow, enabling brute-force attacks on 6-digit
  OTP codes.
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-367
published: '2026-08-10'
updated: '2026-08-28'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72584'
references:
  - url: 'https://github.com/fastschema/fastschema'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
  - url: 'https://github.com/fastschema/fastschema/blob/main/pkg/auth/local.go'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
tags:
  - nvd
epss: 0.0039
epssPercentile: 0.3042
ingestedAt: '2026-08-29T16:39:15.513Z'
---

## Overview

A time-of-check/time-of-use (TOCTOU) race condition in fastschema through v0.15.1 allows an unauthenticated remote attacker to bypass the OTP attempt limit on the account recovery flow, enabling brute-force attacks on 6-digit OTP codes.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
