CVE-2025-13166

published 15 Sep 2026 · updated 15 Sep 2026

Username Enumeration via SMS OTP Flow in WSO2 Identity Server Allows User Account Discovery

3.7LowCVSS 3.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Identity Server 7.1.0.40 and Identity Server 7.2.0.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WSO2Identity Server>=7.1.0 <7.1.0.40, >=7.2.0 <7.2.0.27.1.0.40, 7.2.0.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WSO2, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-13166 severity on Zeptric[![CVE-2025-13166](https://zeptric.io/badge/cve/CVE-2025-13166.svg)](https://zeptric.io/cve/CVE-2025-13166)