CVE-2024-8995
Authorization Code issued for Deleted User reuse in Multiple WSO2 Products Allows Unauthorized Access
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.
INFO
Published Date :
Aug. 6, 2026, 8:16 a.m.
Last Modified :
Aug. 6, 2026, 8:16 a.m.
Remotely Exploit :
Yes !
Source :
ed10eef1-636d-4fbe-9993-6890dfa878f8
Affected Products
The following products are affected by CVE-2024-8995
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | ed10eef1-636d-4fbe-9993-6890dfa878f8 |
Solution
- Invalidate authorization codes upon user deletion.
- Implement a process to periodically clean old codes.
- Review and enforce access controls for code usage.
- Ensure client credentials are not exposed.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-8995.
| URL | Resource |
|---|---|
| https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-2753/ |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-8995 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-8995
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-8995 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-8995 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by ed10eef1-636d-4fbe-9993-6890dfa878f8
Aug. 06, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'WSO2', 'product': 'WSO2 API Manager', 'versions': [{'status': 'unknown', 'version': '0', 'lessThan': '3.1.0', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.1.0', 'lessThan': '3.1.0.320', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.2.0', 'lessThan': '3.2.0.413', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.2.1', 'lessThan': '3.2.1.90', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.0.0', 'lessThan': '4.0.0.334', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.1.0', 'lessThan': '4.1.0.255', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.2.0', 'lessThan': '4.2.0.195', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.3.0', 'lessThan': '4.3.0.106', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.4.0', 'lessThan': '4.4.0.70', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.5.0', 'lessThan': '4.5.0.55', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.6.0', 'lessThan': '4.6.0.19', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Traffic Manager', 'versions': [{'status': 'affected', 'version': '4.5.0', 'lessThan': '4.5.0.54', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.6.0', 'lessThan': '4.6.0.19', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 API Control Plane', 'versions': [{'status': 'affected', 'version': '4.5.0', 'lessThan': '4.5.0.56', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.6.0', 'lessThan': '4.6.0.20', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Universal Gateway', 'versions': [{'status': 'affected', 'version': '4.5.0', 'lessThan': '4.5.0.55', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.6.0', 'lessThan': '4.6.0.19', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Open Banking AM', 'versions': [{'status': 'unknown', 'version': '0', 'lessThan': '2.0.0', 'versionType': 'custom'}, {'status': 'affected', 'version': '2.0.0', 'lessThan': '2.0.0.369', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Identity Server', 'versions': [{'status': 'unknown', 'version': '0', 'lessThan': '5.10.0', 'versionType': 'custom'}, {'status': 'affected', 'version': '5.10.0', 'lessThan': '5.10.0.345', 'versionType': 'custom'}, {'status': 'affected', 'version': '5.11.0', 'lessThan': '5.11.0.395', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.0.0', 'lessThan': '6.0.0.229', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.1.0', 'lessThan': '6.1.0.208', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Open Banking IAM', 'versions': [{'status': 'unknown', 'version': '0', 'lessThan': '2.0.0', 'versionType': 'custom'}, {'status': 'affected', 'version': '2.0.0', 'lessThan': '2.0.0.389', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Identity Server as Key Manager', 'versions': [{'status': 'unknown', 'version': '0', 'lessThan': '5.10.0', 'versionType': 'custom'}, {'status': 'affected', 'version': '5.10.0', 'lessThan': '5.10.0.338', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Carbon OAuth', 'versions': [{'status': 'affected', 'version': '6.4.2', 'lessThan': '6.4.2.154', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.4.111', 'lessThan': '6.4.111.131', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.4.176', 'lessThan': '6.4.176.35', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.4.180', 'lessThan': '6.4.180.17', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.8.0', 'lessThan': '6.8.0.46', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.9.6', 'lessThan': '6.9.6.34', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.11.21', 'lessThan': '6.11.21.59', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.13.16', 'lessThan': '6.13.16.27', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.13.19', 'lessThan': '6.13.19.19', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.13.27', 'lessThan': '6.13.27.15', 'versionType': 'custom'}, {'status': 'affected', 'version': '6.13.41', 'lessThan': '6.13.41.4', 'versionType': 'custom'}, {'status': 'unaffected', 'version': '6.11.53', 'versionType': 'custom', 'lessThanOrEqual': '*'}], 'packageName': 'org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauth', 'defaultStatus': 'unknown'}] Added 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. Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N Added CWE CWE-613 Added Reference https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-2753/