CVE-2026-62317: Logto: ReDoS via unescaped user input in email subaddressing regex (blockSubaddressing)

Published Aug 19, 2026
·
Updated

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.

Affected Software

1 affected component
Logto Logto<1.41.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Logto to a version that resolves this vulnerability.

    Fixed in 1.41.0

Event History

Aug 19, 2026
CVE Published
via MITRE·07:41 PM
Data Sourced
via MITRE·07:41 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service condition?

Logto deployments running versions prior to 1.41.0 are exposed when email subaddressing blocking is enabled through the blockSubaddressing setting. The affected verification-code endpoint is reachable over the network, and exploitation can stall the event loop.

2

Does exploitation require an account or user interaction?

No. The issue has network attack vector, low complexity, no privileges required, and no user interaction required. An attacker can target POST /api/experience/verification/verification-code with crafted email input.

3

What services can be disrupted?

Catastrophic backtracking during email processing can stall the Logto event loop. This can make authentication, token issuance, SSO, and the administrative console unavailable.

4

What is the remediation if the affected feature is in use?

Upgrade Logto to version 1.41.0, which fixes the issue. If an immediate upgrade is not possible, disabling blockSubaddressing removes the condition described for constructing the vulnerable regular expression.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203