# CVE-2025-13166: Username Enumeration via SMS OTP Flow in WSO2 Identity Server Allows User Account Discovery

- Severity: Low 3.7 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:N/AC:H/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.22%, higher than 12% of CVEs (2026-12-02)
- Published: 2026-09-15T09:53:54.532Z
- Modified: 2026-10-14T19:10:00.297Z
- Weaknesses: CWE-203
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: WSO2

## Description

The SMS OTP flow fails to adequately handle error messages, allowing an attacker to infer the existence of registered user accounts based on the responses received during the OTP initiation process.

This weakness can be exploited by an attacker to discover valid usernames within the system. The impact is amplified for accounts that have not configured a mobile number, as the enumeration is specifically tied to this condition. The discovery of these usernames can facilitate subsequent brute force attacks, social engineering attempts, and information leakage, potentially leading to reputational damage, loss of customer trust, and regulatory non-compliance.

(As written by CVE List.)

## Affected

- WSO2 WSO2 Identity Server: from 7.1.0 before 7.1.0.40; from 7.2.0 before 7.2.0.2

## References

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

## Sources

- CVE List: [CVE-2025-13166](https://www.cve.org/CVERecord?id=CVE-2025-13166), CVE Terms of Use, modified 2026-09-15
- NVD: [CVE-2025-13166](https://nvd.nist.gov/vuln/detail/CVE-2025-13166), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-13166 · Whole record: https://cve.day/CVE-2025-13166.json · Rebuilt by cve.day 2026-11-25T22:59:12.500Z
