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

- Severity: Medium 5.3 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-05-11T08:45:33.754Z
- Modified: 2026-11-08T20:10:00.187Z
- Weaknesses: CWE-204
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: WSO2

## 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.

(As written by CVE List.)

## Affected

- WSO2 WSO2 Identity Server: before 5.10.0; from 5.10.0 before 5.10.0.379; from 5.11.0 before 5.11.0.426; from 5.11.0 before 5.11.0.431; from 6.0.0 before 6.0.0.253; from 6.1.0 before 6.1.0.254; from 7.0.0 before 7.0.0.131
- WSO2 WSO2 Open Banking IAM: before 2.0.0; from 2.0.0 before 2.0.0.318
- WSO2 WSO2 Identity Server as Key Manager: before 5.10.0; from 5.10.0 before 5.10.0.267
- org.wso2.carbon.identity.local.auth.emailotp:org.wso2.carbon.identity.local.auth.emailotp: from 1.0.18 before 1.0.18.7 (not affected: from 1.0.24 up to *)
- org.wso2.carbon.extension.identity.authenticator.outbound.emailotp:org.wso2.carbon.identity.authenticator.emailotp: from 4.1.0 before 4.1.0.8; from 4.1.4 before 4.1.4.9 (not affected: from 4.1.22 up to *)
- org.wso2.carbon.extension.identity.authenticator.outbound.emailotp:org.wso2.carbon.extension.identity.authenticator.emailotp.connector: from 3.0.5 before 3.0.5.8; from 3.0.24 before 3.0.24.6; from 3.0.26 before 3.0.26.16
- wso2 identity_server: from 5.10.0 before 5.10.0.379; from 5.11.0 before 5.11.0.426; from 6.0.0 before 6.0.0.253; from 6.1.0 before 6.1.0.254; from 7.0.0 before 7.0.0.131
- wso2 identity_server_as_key_manager: from 5.10.0 before 5.10.267
- wso2 open_banking_iam: from 2.0.0 before 2.0.0.318

## Every score

- WSO2: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3115/> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-0391](https://www.cve.org/CVERecord?id=CVE-2024-0391), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-0391](https://nvd.nist.gov/vuln/detail/CVE-2024-0391), Public domain, modified 2026-11-08

---

Page: https://cve.day/CVE-2024-0391 · Whole record: https://cve.day/CVE-2024-0391.json · Rebuilt by cve.day 2026-11-25T22:58:53.017Z
