6.4medium
Logto: TOTP code can be replayed within the RFC 6238 validity window (one-time use violation)
- Severity
- 6.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| logto-io logto | < 1.41.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Logto es la infraestructura de autenticación moderna y de código abierto para aplicaciones SaaS y de IA. Antes de la versión 1.41.0, la verificación TOTP existente de Logto aceptaba un código TOTP utilizado con éxito de nuevo mientras el código permanecía dentro de la ventana de aceptación de RFC 6238 porque el verificador utilizaba la comprobación sin estado de otplib con window = 1 y no persistía ni comparaba el contador de pasos de tiempo TOTP aceptado. Un atacante que tiene el primer factor de la víctima y captura un valor TOTP en vivo puede reproducir ese valor para satisfacer la MFA durante la misma ventana de aceptación. Este problema se solucionó en la versión 1.41.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55370 changed 2026-07-10 | CVE Terms of Use |
| NVD | CVE-2026-55370 changed 2026-10-25 | Public domain |