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?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| logtoNiche | < 1.41.0 | 1.41.0 |
What to do
Update to a fixed version: 1.41.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.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
- Prerequisites multiplied together0.189
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.189 × threat 0.851.285
- Rounded to one decimal between 0.1 and 101.3
Exploitation and evidence timeline
- 10 Jul 2026 Published
- 3 Dec 2026 Risk 1.3 (cvss fallback)
Weakness
CWE-294
References
- https://github.com/logto-io/logto/security/advisories/GHSA-6wj7-c66m-6c82vendor-advisory
- https://github.com/logto-io/logto/pull/9109misc
- https://github.com/logto-io/logto/commit/9118867f6cbadc7291cf913beb4fede91ed5d374misc
- https://github.com/logto-io/logto/releases/tag/v1.41.0misc
- CVE-2026-55370 on CVE.org