CVE-2026-62317 PUBLISHED

Logto: ReDoS via unescaped user input in email subaddressing regex (blockSubaddressing)

Assigner: GitHub_M
Reserved: 13.07.2026 Published: 19.08.2026 Updated: 19.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 7.5

Product Status

Vendor logto-io
Product logto
Versions
  • Version < 1.41.0 is affected

References

Problem Types

  • CWE-1333: Inefficient Regular Expression Complexity CWE