Skip to content

logto

Logto: TOTP code can be replayed within the RFC 6238 validity window (one-time use violation)

CVE-2026-55370Published 10 Jul 2026, 19:56 UTC

Real-world risk

1.3/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.4

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

Logto is the modern, open-source auth infrastructure for SaaS and AI apps. Prior to 1.41.0, Logto's existing TOTP verification accepted a successfully used TOTP code again while the code remained inside the RFC 6238 acceptance window because the verifier used otplib's stateless check with window = 1 and did not persist or compare the accepted TOTP time-step counter. An attacker who has the victim's first factor and captures a live TOTP value can replay that value to satisfy MFA during the same acceptance window. This issue is fixed in version 1.41.0.

Am I affected?

ProductAffected versions (from the sources)Fixed in
logtoNiche< 1.41.01.41.0

What to do

Update to a fixed version: 1.41.0.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.2% chance of exploitation in 30 days (percentile 10), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.189
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.189 × threat 0.851.285
  4. Rounded to one decimal between 0.1 and 101.3

How the score works

Exploitation and evidence timeline

  1. 10 Jul 2026 Published
  2. 3 Dec 2026 Risk 1.3 (cvss fallback)

Weakness

CWE-294

References

Get alerts for logto

Free email or text alerts when a vulnerability in logto reaches risk 8 or higher. Nothing else.