Description
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.
Published: 2026-08-19
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A regular expression used for email subaddressing in Logto’s authentication flow was permissively constructed from raw user input. The regex allowed multiple at signs and metacharacters, enabling an attacker to supply a specially crafted email address that triggers catastrophic backtracking. This causes the Node.js event loop to stall, effectively dropping authentication, token issuance, single‑sign‑on, and administrative console services until the process recovers.

Affected Systems

The vulnerability exists in logto-io Logto versions earlier than 1.41.0. Systems running any of these pre‑1.41.0 releases are vulnerable; the fix is delivered in release 1.41.0.

Risk and Exploitability

The CVSS score of 7.5 marks it as a high‑severity issue, and the EPSS score is not available, though the lack of a KEV listing does not negate its relevance. Attackers can exploit the flaw by sending a malicious payload to POST /api/experience/verification/verification-code, a remote HTTP endpoint that accepts the email address as unvalidated input.

Generated by OpenCVE AI on August 20, 2026 at 12:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Logto to version 1.41.0 or later.
  • If an upgrade is not yet possible, temporarily disable the blockSubaddressing feature in the configuration to prevent the regex from processing user input.
  • Configure log monitoring and rate‑limiting on the /api/experience/verification/verification-code endpoint to detect and mitigate abusive traffic.

Generated by OpenCVE AI on August 20, 2026 at 12:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 19 Aug 2026 21:30:00 +0000

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

Wed, 19 Aug 2026 19:45: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 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.
Title Logto: ReDoS via unescaped user input in email subaddressing regex (blockSubaddressing)
Weaknesses CWE-1333
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T19:05:49.589Z

Reserved: 2026-07-13T19:27:58.314Z

Link: CVE-2026-62317

cve-icon Vulnrichment

Updated: 2026-08-21T19:05:45.443Z

cve-icon NVD

Status : Received

Published: 2026-08-19T20:17:19.890

Modified: 2026-08-21T20:16:38.243

Link: CVE-2026-62317

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T12:15:03Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity