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.
Published: 2026-07-10
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Logto’s TOTP verification logic permitted a submitted one‑time password to be reused within the RFC 6238 window because the verifier used a stateless check that did not record the accepted counter. An attacker who had obtained the victim’s primary factor or access to the user’s device could capture a live TOTP value and replay it during the same window to satisfy multi‑factor authentication. This flaw allows an authenticated user whose first factor is compromised to bypass MFA and impersonate the victim’s account.

Affected Systems

All deployments of logto‑io:logto older than version 1.41.0 are vulnerable. Versions 1.41.0 and later remove the stateless behavior, persist the accepted counter, and enforce single‑use validation.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate to high severity. The EPSS score of less than 1 % suggests a low probability of exploitation in the wild, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, capturing a live TOTP value requires the attacker to have the victim’s primary factor or to compromise the user’s device; once obtained, the code can be replayed during the same validity window. Accounts with enabled TOTP MFA that have not applied the fix remain vulnerable.

Generated by OpenCVE AI on August 4, 2026 at 07:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Logto to version 1.41.0 or later to enforce single‑use TOTP validation
  • If a patch cannot be applied immediately, disable TOTP‑based MFA for affected accounts until the upgrade is complete
  • Consider adding an additional second‑factor method or implementing session‑based MFA to reduce the risk of replay attacks

Generated by OpenCVE AI on August 4, 2026 at 07:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Logto-io
Logto-io logto
Vendors & Products Logto-io
Logto-io logto

Fri, 10 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Logto: TOTP code can be replayed within the RFC 6238 validity window (one-time use violation)
Weaknesses CWE-294
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-10T20:14:41.325Z

Reserved: 2026-06-16T18:57:40.181Z

Link: CVE-2026-55370

cve-icon Vulnrichment

Updated: 2026-07-10T20:14:37.931Z

cve-icon NVD

Status : Deferred

Published: 2026-07-10T20:16:46.333

Modified: 2026-07-13T19:21:55.683

Link: CVE-2026-55370

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T07:45:05Z

Weaknesses
  • CWE-294

    Authentication Bypass by Capture-replay