CVE-2026-62317 Logto: ReDoS via unescaped user input in email subaddressing regex (blockSubaddressing)
설명
Logto is the modern, open-source auth infrastructure for SaaS and AI apps. Prior to 1.41.0, Logto's email subaddressing blocklist in packages/core/src/libraries/sign-in-experience/email-blocklist-policy.ts used the attacker-controlled domain from email input to construct subaddressingRegex when blockSubaddressing was enabled. The permissive emailRegEx accepted multiple at signs and regular expression metacharacters, and POST /api/experience/verification/verification-code could therefore cause catastrophic backtracking in subaddressingRegex.test(email). The resulting event-loop stall could make authentication, token issuance, SSO, and the administrative console unavailable. This issue is fixed in version 1.41.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
logto-io
logto
영향 받는 버전
- 1.41.0 미만
해결 버전
- 1.41.0 이상
참고 자료 4건
- github.com https://github.com/logto-io/logto/commit/021381237511bc0d42f81d65df8b036b01f40547 (새 창)
- github.com https://github.com/logto-io/logto/pull/9106 (새 창)
- github.com https://github.com/logto-io/logto/releases/tag/v1.41.0 (새 창)
- github.com https://github.com/logto-io/logto/security/advisories/GHSA-qp7j-c3q2-g739 (새 창)