CVE-2024-8995

published 6 Aug 2026 · updated 6 Aug 2026

Authorization Code issued for Deleted User reuse in Multiple WSO2 Products Allows Unauthorized Access

4.9MediumCVSS 4.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in API Control Plane 4.5.0.56, API Control Plane 4.6.0.20, API Manager 3.1.0.320 and 31 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WSO2API Control Plane>=4.5.0 <4.5.0.56, >=4.6.0 <4.6.0.204.5.0.56, 4.6.0.20
WSO2API Manager>=3.1.0 <3.1.0.320, >=3.2.0 <3.2.0.413, >=3.2.1 <3.2.1.90, >=4.0.0 <4.0.0.334, >=4.1.0 <4.1.0.255, >=4.2.0 <4.2.0.195, >=4.3.0 <4.3.0.106, >=4.4.0 <4.4.0.70, >=4.5.0 <4.5.0.55, >=4.6.0 <4.6.0.193.1.0.320, 3.2.0.413, 3.2.1.90, 4.0.0.334, 4.1.0.255, 4.2.0.195, 4.3.0.106, 4.4.0.70, 4.5.0.55, 4.6.0.19
WSO2Carbon OAuth>=6.11.21 <6.11.21.59, >=6.13.16 <6.13.16.27, >=6.13.19 <6.13.19.19, >=6.13.27 <6.13.27.15, >=6.13.41 <6.13.41.4, >=6.4.111 <6.4.111.131, >=6.4.176 <6.4.176.35, >=6.4.180 <6.4.180.17, >=6.4.2 <6.4.2.154, >=6.8.0 <6.8.0.46, >=6.9.6 <6.9.6.346.11.21.59, 6.13.16.27, 6.13.19.19, 6.13.27.15, 6.13.41.4, 6.4.111.131, 6.4.176.35, 6.4.180.17, 6.4.2.154, 6.8.0.46, 6.9.6.34
WSO2Identity Server>=5.10.0 <5.10.0.338, >=5.10.0 <5.10.0.345, >=5.11.0 <5.11.0.395, >=6.0.0 <6.0.0.229, >=6.1.0 <6.1.0.2085.10.0.338, 5.10.0.345, 5.11.0.395, 6.0.0.229, 6.1.0.208
WSO2Open Banking AM>=2.0.0 <2.0.0.3692.0.0.369
WSO2Open Banking IAM>=2.0.0 <2.0.0.3892.0.0.389
WSO2Traffic Manager>=4.5.0 <4.5.0.54, >=4.6.0 <4.6.0.194.5.0.54, 4.6.0.19
WSO2Universal Gateway>=4.5.0 <4.5.0.55, >=4.6.0 <4.6.0.194.5.0.55, 4.6.0.19

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-2024-8995 severity on Zeptric[![CVE-2024-8995](https://zeptric.io/badge/cve/CVE-2024-8995.svg)](https://zeptric.io/cve/CVE-2024-8995)