CVE-2025-5802 Username Enumeration via Self Registration Flow in Multiple WSO2 Products Allows User Account Discovery

Medium 5.3 Published Updated

Attackers can enumerate valid usernames via self-registration error messages, facilitating targeted attacks against WSO2 identity products.

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-2025-5802?

CVE-2025-5802 is a medium-severity vulnerability in WSO2 API Control Plane, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The self-registration flow accepts user-supplied input for usernames without adequately preventing the disclosure of username existence. When a user attempts to register with an existing username, the system responds with an error message that explicitly indicates the username is already in use.

This behavior allows an attacker to discover valid usernames within the system. The discovery of valid usernames can facilitate subsequent attacks such as brute force, social engineering, and targeted phishing campaigns.

Weakness: CWE-203

Which versions are affected by CVE-2025-5802?

How do I fix CVE-2025-5802?

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

Is CVE-2025-5802 being exploited?

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

Sources

Also known as GHSA-6cgx-wc6q-rrj4.

Is CVE-2025-5802 in your software?

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

Check your SBOMs for free