Skip to main content

Umami EUVDEUVD-2026-132834

| CVE-2026-134829 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-11-22 VulnCheck GHSA-p5qm-23h5-4557
7.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate first factor with stolen password
  2. Delivery
    Flood /api/2fa/verify with concurrent POSTs
  3. Exploit
    Pass checkRateLimit before recordFailedAttempt commits
  4. Execution
    Brute-force TOTP or backup codes past five-attempt limit
  5. Impact
    Complete 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Umami 3.3.0 <3.5.0

Affected Packages

euvd umami fix: 3.5.0

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

Vendor (VulnCheck) PRIMARY 7.6 HIGH
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
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Medium
popular self-hosted open-source web analytics, moderate real-world footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy