What’s Vulnerable › Vulnerabilities
CVE-2024-8995: Authorization Code issued for Deleted User reuse in Multiple WSO2 Products Allows Unauthorized Access
- Severity: medium (CVSS 4.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-06 · updated 2026-10-27
- Weakness: CWE-613
Description
Unused authorization codes issued to deleted users are not being properly invalidated or removed from the system. This allows for the persistence of these codes, enabling them to be potentially reused. If an attacker possesses both the authorization code and the associated client credentials (client ID and client secret), they can leverage these unused codes to obtain access tokens on behalf of users who have already been deleted. This may lead to unauthorized access to sensitive resources and services, contingent on the scopes originally authorized for the compromised authorization code.
Affected products
- WSO2 Api Control Plane: from 4.5.0 before 4.5.0.56; from 4.6.0 before 4.6.0.20 — fixed in 4.5.0.56, 4.6.0.20
- WSO2 API Manager: from 3.1.0 before 3.1.0.320; from 3.2.0 before 3.2.0.413; from 3.2.1 before 3.2.1.90; from 4.0.0 before 4.0.0.334; from 4.1.0 before 4.1.0.255; from 4.2.0 before 4.2.0.195 — fixed in 3.1.0.320, 3.2.0.413, 3.2.1.90, 4.0.0.334, 4.1.0.255, 4.2.0.195
- WSO2 Identity Server: from 5.10.0 before 5.10.0.338; from 5.11.0 before 5.11.0.395; from 6.0.0 before 6.0.0.229; from 6.1.0 before 6.1.0.208 — fixed in 5.10.0.338, 5.11.0.395, 6.0.0.229, 6.1.0.208
- WSO2 Identity Server As Key Manager: from 5.10.0 before 5.10.0.338 — fixed in 5.10.0.338
- WSO2 Open Banking Am: from 2.0.0 before 2.0.0.369 — fixed in 2.0.0.369
- WSO2 Open Banking Iam: from 2.0.0 before 2.0.0.389 — fixed in 2.0.0.389
- WSO2 Traffic Manager: from 4.5.0 before 4.5.0.54; from 4.6.0 before 4.6.0.19 — fixed in 4.5.0.54, 4.6.0.19
- WSO2 Universal Gateway: from 4.5.0 before 4.5.0.55; from 4.6.0 before 4.6.0.19 — fixed in 4.5.0.55, 4.6.0.19
How to fix
Upgrade to a fixed version: WSO2 Api Control Plane 4.5.0.56, 4.6.0.20; WSO2 API Manager 3.1.0.320, 3.2.0.413, 3.2.1.90, 4.0.0.334; WSO2 Identity Server 5.10.0.338, 5.11.0.395, 6.0.0.229, 6.1.0.208; WSO2 Identity Server As Key Manager 5.10.0.338; WSO2 Open Banking Am 2.0.0.369; WSO2 Open Banking Iam 2.0.0.389; WSO2 Traffic Manager 4.5.0.54, 4.6.0.19; WSO2 Universal Gateway 4.5.0.55, 4.6.0.19. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-8995 or the next vulnerability affects your stack