CVE-2026-134829 in Umamiinfo

Summary

by MITRE • 11/23/2026

Umami 3.3.0 before 3.5.0 contains a race condition in two-factor authentication attempt limiting that allows attackers holding a user's password to bypass lockout. Attackers can send many concurrent POST requests to /api/2fa/verify that pass checkRateLimit before recordFailedAttempt runs, brute-forcing TOTP or backup codes beyond the five-attempt limit.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/23/2026

The vulnerability identified in Umami versions prior to 3.5.0 represents a critical security flaw rooted in improper synchronization of concurrent operations during the two-factor authentication process. Specifically, this is a race condition that affects the rate limiting mechanism designed to prevent brute-force attacks on TOTP tokens and backup codes. The core technical issue lies in the execution order of functions within the /api/2fa/verify endpoint. When an attacker sends multiple simultaneous POST requests with incorrect credentials or verification codes, these requests can be processed concurrently by the server's event loop. In this specific implementation, the checkRateLimit function is executed before the recordFailedAttempt function updates the database to reflect a failed login attempt. This temporal gap allows multiple concurrent requests to pass the rate limit check simultaneously because none of them have yet recorded their failure in the persistent storage layer that tracks subsequent attempts.

This architectural flaw effectively neutralizes the intended security control, which is designed to lock out an account after five consecutive failed authentication attempts. By exploiting this race condition, an attacker holding a valid user password can bypass the lockout mechanism entirely. The attacker simply needs to flood the /api/2fa/verify endpoint with many concurrent requests containing different TOTP codes or backup codes. Since each request is evaluated against the rate limit before it contributes to the failure count, the system fails to recognize that multiple attempts are occurring in rapid succession from the same source. This allows the attacker to perform a brute-force attack on the time-based one-time password or static backup code without triggering the account lockout protection, significantly increasing the probability of guessing the correct authentication factor within a short timeframe.

From an operational impact perspective, this vulnerability compromises the integrity of multi-factor authentication, which is often deployed as a primary defense against credential stuffing and phishing attacks. If an attacker successfully obtains a user's password through other means such as data breaches or social engineering, they can now bypass the second layer of security with minimal resistance. This leads to unauthorized access to sensitive analytics data stored within Umami, potentially exposing proprietary business metrics, visitor tracking information, and configuration details. The ability to brute-force TOTP codes also undermines trust in the authentication system, forcing organizations to reconsider their reliance on standard time-based tokens without additional protective measures like exponential backoff or stricter concurrency controls at the application layer.

This vulnerability aligns with CWE-362, which describes concurrent execution using shared resources with insufficient synchronization. The lack of atomicity between checking the rate limit and recording the failure creates a window of opportunity for exploitation that is characteristic of race conditions in web applications handling high-concurrency requests. Furthermore, from an offensive security perspective as mapped by MITRE ATT&CK, this technique falls under T1110.004, which refers to Brute Force: Password Spraying or Credential Stuffing with specific bypass techniques for account lockout mechanisms. The exploitation method leverages the asynchronous nature of many modern web frameworks to outpace stateful security controls that are not designed to handle parallelized inputs correctly.

To mitigate this vulnerability, organizations running Umami versions before 3.5.0 should upgrade immediately to version 3.5.0 or later where the race condition has been addressed by ensuring atomic operations for rate limiting and failure recording. For environments where an immediate upgrade is not feasible, temporary mitigations include implementing a Web Application Firewall rule that limits the number of POST requests to the /api/2fa/verify endpoint from a single IP address over a short time window. Additionally, introducing server-side session locking or using database-level row locks during the verification process can prevent concurrent threads from bypassing the rate limit check. It is also advisable to enforce stricter timeout policies on authentication endpoints and consider implementing CAPTCHA challenges after a small number of failed attempts to add friction against automated brute-force tools exploiting this specific race condition.

Responsible

VulnCheck

Reservation

11/22/2026

Disclosure

11/23/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!