{"id":"CVE-2026-55370","state":"PUBLISHED","title":"Logto: TOTP code can be replayed within the RFC 6238 validity window (one-time use violation)","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.","publishedAt":"2026-07-10T19:56:53.317Z","updatedAt":"2026-07-10T20:14:41.325Z","severity":{"score":6.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["logto-io logto"],"affected":[{"vendor":"logto-io","product":"logto","versions":[{"version":"< 1.41.0","status":"affected"}]}],"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"],"weaknesses":["CWE-294"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55370.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55370","state":"PUBLISHED","datePublished":"2026-07-10T19:56:53.317Z","dateUpdated":"2026-07-10T20:14:41.325Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-16T18:57:40.181Z"},"containers":{"cna":{"title":"Logto: TOTP code can be replayed within the RFC 6238 validity window (one-time use violation)","descriptions":[{"lang":"en","value":"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":[{"vendor":"logto-io","product":"logto","versions":[{"version":"< 1.41.0","status":"affected"}]}],"references":[{"url":"https://github.com/logto-io/logto/security/advisories/GHSA-6wj7-c66m-6c82","name":"https://github.com/logto-io/logto/security/advisories/GHSA-6wj7-c66m-6c82","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/logto-io/logto/pull/9109","name":"https://github.com/logto-io/logto/pull/9109","tags":["x_refsource_MISC"]},{"url":"https://github.com/logto-io/logto/commit/9118867f6cbadc7291cf913beb4fede91ed5d374","name":"https://github.com/logto-io/logto/commit/9118867f6cbadc7291cf913beb4fede91ed5d374","tags":["x_refsource_MISC"]},{"url":"https://github.com/logto-io/logto/releases/tag/v1.41.0","name":"https://github.com/logto-io/logto/releases/tag/v1.41.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-294","lang":"en","description":"CWE-294: Authentication Bypass by Capture-replay","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-10T19:56:53.317Z"},"source":{"advisory":"GHSA-6wj7-c66m-6c82","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-10T20:14:33.407390Z","id":"CVE-2026-55370","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-10T20:14:41.325Z"}}]}}}