Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate first factor with stolen password
-
DeliveryFlood /api/2fa/verify with concurrent POSTs
-
ExploitPass checkRateLimit before recordFailedAttempt commits
-
ExecutionBrute-force TOTP or backup codes past five-attempt limit
-
ImpactComplete account takeover
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires the attacker to already hold the victim's valid account password (first factor) and for that account to have two-factor authentication enabled - this is the PR:L precondition, not remote-unauthenticated access. The core requirement is a concurrency race: the attacker must send many simultaneous POST requests to /api/2fa/verify so guesses clear checkRateLimit before recordFailedAttempt persists a failure, defeating the five-attempt lockout to brute-force TOTP or backup codes. Limiting factors: affected only on Umami 3.3.0 through 3.4.x (fixed in 3.5.0); success depends on winning the timing window (AC:H/AT:P), so it is non-deterministic per request; and it yields nothing without prior possession of the password. |
| Impact | This is a genuine but conditional priority, not an inflated high-CVSS score. The signals are internally consistent: the CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:L/UI:N) marks it network-reachable but gated by both low-privilege access (PR:L) and attack requirements plus high complexity (AT:P/AC:H), which aligns with the mechanism described - a TOCTOU race (CWE-367) where concurrent POST requests to /api/2fa/verify slip past checkRateLimit before recordFailedAttempt commits. The vuln.today decision label is 'this_week' rather than 'act_now' or 'emergency', consistent with a flaw that requires the attacker to already hold the victim's password and to win a timing window. No EPSS score, no CISA KEV listing, and no public exploit reference are present in the input, so there is no evidence of active exploitation or weaponization. The real limiting factor is the precondition in the description itself: the attacker must already possess the user's first-factor password, so this is a 2FA-bypass/privilege-escalation-of-a-compromised-credential issue rather than a standalone remote account takeover. Reporter is VulnCheck; patch is confirmed available. Missing data to note explicitly: EPSS and KEV are both absent (absence is not a negative signal, just unavailable), so widespread-exploitation likelihood cannot be scored from the input. |
| Exploit ScenarioDerived | An attacker who has already obtained a victim's Umami password (via phishing, reuse, or prior breach) targets the 2FA check to finish the account takeover. They script many simultaneous POST requests to /api/2fa/verify so that numerous guesses pass the rate-limit check before any failed attempt is recorded, defeating the five-attempt lockout and allowing brute force of the TOTP code or backup codes. No public exploit code is identified in the sources, and the attack requires winning a concurrency race (AC:H/AT:P), so it is non-trivial but practical given the small TOTP keyspace. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Umami 3.3.0 through 3.4.x contains a race condition in its two-factor authentication attempt limiter that lets someone who already holds a user's password bypass the five-attempt lockout on /api/2fa/verify. By firing many concurrent POST requests, guesses clear checkRateLimit before recordFailedAttempt records a failure, so TOTP codes or backup codes can be brute-forced past the intended limit; accounts without 2FA enabled are unaffected because there is nothing to brute-force. The flaw is not remote-unauthenticated: it requires the victim's valid first-factor password plus an enabled 2FA secret, and success depends on winning a timing window, so it is non-deterministic per request and yields nothing without prior password possession. No public exploit code was identified at time of analysis, though the fix commit and release notes are publicly visible.
RemediationAI
Vendor-released patch: Umami 3.5.0. Upgrade any instance running 3.3.0 through 3.4.x to v3.5.0 (https://github.com/umami-software/umami/releases/tag/v3.5.0); the fix is commit 9411f67d7e37d149a40eef016022ed5fe5c6671d, which replaces checkRateLimit/recordFailedAttempt with an atomic reserveAttempt and swaps isOtpReplayed/markOtpUsed for an atomic claimOtp - if a direct upgrade is not immediately possible, backporting that commit is the only change that closes the window, since the defect is inherent to the split check-then-record design and cannot be configured away. Until patched, treat password compromise on 2FA-protected accounts as sufficient for bypass: force-reset passwords for any account suspected of exposure and rotate enrolled TOTP secrets and backup codes, because a successful race yields working second-factor material rather than a transient session. Operators can also monitor reverse-proxy or application logs for high-volume parallel POST bursts to /api/2fa/verify from a single source or against a single account within a short interval and block or challenge those sources at the edge; this is detection-only, adds no protection against a slow, low-concurrency attempt and will not stop an attacker who paces requests to stay under volumetric thresholds. Accounts with two-factor authentication disabled are not exposed to this specific path, but disabling 2FA is not an acceptable mitigation. Advisory references: https://www.vulncheck.com/advisories/umami-3.3.0-before-3.5.0-2fa-bypass-via-race-condition-in-api-2fa-verify and https://github.com/umami-software/umami/blob/v3.4.1/src/lib/two-factor/rate-limit.ts#L8-L17 for confirming vulnerable code in a deployment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Umami is a self-hosted web analytics platform built on Next.js route handlers. Its two-factor implementation in src/lib/two-factor/rate-limit.ts used a non-atomic two-step pattern: checkRateLimit(userId) read the current attempt counter and returned whether the caller was still allowed, and only later - after the supplied token was validated - recordFailedAttempt(userId) incremented the counter and applied the lockout. Because the read and the write were separate operations against the same per-user counter, a burst of parallel requests could all observe an allowed state before any of them persisted an increment, collapsing the five-attempt budget into effectively unlimited guesses against a 6-digit TOTP or a backup code. This is CWE-367 (time-of-check time-of-use race condition). The upstream fix, commit 9411f67d7e37d149a40eef016022ed5fe5c6671d released in v3.5.0, restructures the flow so the attempt budget is consumed atomically up front: reserveAttempt(userId) replaces checkRateLimit plus recordFailedAttempt and returns the lockedUntil value, and the separate OTP replay check (isOtpReplayed followed by markOtpUsed) is replaced by a single atomic claimOtp(userId, token), which also closes a parallel replay window. Ancillary changes route 2FA setup cancellation through parseRequest with the allowTwoFactorSetup option. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N - network reachable, high attack complexity and partial preconditions reflecting the reliance on concurrency timing, but low privileges because the attacker must already hold the account password.
Know when Umami gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable API but requires the victim's password (PR:L) and winning a non-atomic race (AC:H); successful 2FA bypass yields full account takeover, so C:H/I:H and A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
A race condition in Umami's two-factor authentication (2FA) rate limiting (CVE-2026-134829) could allow an attacker who already possesses a user's password to bypass the five-attempt lockout and brute-force TOTP or backup codes. This undermines the second layer of defense for any affected account with 2FA enabled, meaning a single compromised password could escalate to full account takeover. Leadership should care because this weakens the organization's security posture for users relying on 2FA and could lead to unauthorized access to analytics data or administrative functions.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
SQL injection in Umami through 3.5.0 allows a share-token holder or low-privilege authenticated user to inject arbitrary
Umami 3.3.x, 3.4.0, and 3.4.1 can allow a user who already holds valid first-factor credentials to complete login withou
Unauthorized analytics record injection affects Umami through 3.4.1 because the Record API endpoint accepts a Website id
EUVD-2026-132834
GHSA-p5qm-23h5-4557
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB