CVE-2024-0391 Username Enumeration via Email OTP Flow in Multiple WSO2 Products Allows User Account Discovery

Medium 5.3 Published Updated

Attackers can enumerate valid user accounts via the email OTP flow, facilitating targeted phishing and brute-force attacks against WSO2 Identity Server deployments.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-0391?

CVE-2024-0391 is a medium-severity vulnerability in Wso2 Identity Server, published on 11 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The check user account lock states feature within the email OTP flow fails to validate user input, allowing an attacker to infer the existence of registered user accounts.

The discovery of valid usernames can increase the risk of brute-force and social engineering attacks. Attackers can leverage this information to craft targeted phishing campaigns or other malicious activities aimed at tricking users into divulging sensitive data, potentially damaging the organization's reputation and leading to regulatory non-compliance and financial consequences.

Weakness: CWE-204

Which versions are affected by CVE-2024-0391?

It affects 3 products.

Products include Wso2 Identity Server, Wso2 Identity Server as Key Manager, Wso2 Open Banking Iam.

How do I fix CVE-2024-0391?

No fix has been published for CVE-2024-0391 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-0391 being exploited?

There is no known exploitation of CVE-2024-0391 in the wild and no public exploit code.

All Wso2 Identity Server vulnerabilities

Sources

Also known as GHSA-r9x2-mg2v-mq96.

Is CVE-2024-0391 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free