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

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-07-10T19:56:53.317Z
- Modified: 2026-10-25T15:10:00.147Z
- Weaknesses: CWE-294
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- logto-io logto: < 1.41.0

## References

- <https://github.com/logto-io/logto/security/advisories/GHSA-6wj7-c66m-6c82>
- <https://github.com/logto-io/logto/pull/9109>
- <https://github.com/logto-io/logto/commit/9118867f6cbadc7291cf913beb4fede91ed5d374>
- <https://github.com/logto-io/logto/releases/tag/v1.41.0>

## Sources

- CVE List: [CVE-2026-55370](https://www.cve.org/CVERecord?id=CVE-2026-55370), CVE Terms of Use, modified 2026-07-10
- NVD: [CVE-2026-55370](https://nvd.nist.gov/vuln/detail/CVE-2026-55370), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-55370 · Whole record: https://cve.day/CVE-2026-55370.json · Rebuilt by cve.day 2026-11-25T22:59:27.672Z
