All vulnerabilities

Servers and applications

GHSA-8xp8-xrh2-88vr

Public registration sends the verification email to the submitted address instead of the matched account

Severity
Medium 5.3
Published
2 Sept 2026
Last changed
2 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
12.3.1
Weakness
CWE-706
Attack
Over the network · No login needed · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Sources
Project advisories (GitHub)

Description

Public registration resolves existing accounts with a case-normalized email comparison, but it builds the email verification token and selects the email recipient from the address exactly as submitted in the request. On MySQL and MariaDB, whose default collations are accent insensitive, an accented variant of an existing address matches that account's row while the verification link is delivered to the mailbox of the submitted variant. This separates the account that gets verified from the address that receives the verification link.

Registration matches an existing account with a lowercased comparison against the stored email. When a matching account is found and its status is unverified, the request is treated as a verification resend rather than rejected. The token payload and the mail recipient are then taken from the submitted address rather than from the account that was matched, and the verification endpoint resolves the address in the token back to an account through the…

From directus/directus's security advisory. Shortened; the full text is there.

Workarounds

Disable public registration, or disable email verification for registration, or configure an accent-sensitive collation for the email column on MySQL and MariaDB deployments.

Workarounds as given by directus/directus's security advisory.

Affected software

SoftwareAffected versions
DirectusServers and applications · github:directus/directus
  • From 10.11.0 before 12.3.1

About Directus

The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.

From its GitHub repository.
Weekly downloads (npm)
30,924npm, 15 Nov 2026
Docker Hub pulls
50,954,770Docker Hub, 15 Nov 2026
GitHub stars
38,722GitHub, 15 Nov 2026
Forks
5,000GitHub, 15 Nov 2026
Latest release
v12.6.1GitHub, 15 Nov 2026
Released
4 Nov 2026GitHub
First published on GitHub
12 Dec 2012GitHub

References