CVE-2024-8995 Authorization Code issued for Deleted User reuse in Multiple WSO2 Products Allows Unauthorized Access
Attackers can reuse authorization codes from deleted users to obtain access tokens and gain unauthorized access to resources.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-8995?
CVE-2024-8995 is a medium-severity authentication bypass vulnerability in Wso2 Api Manager, published on 6 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-613
Which versions are affected by CVE-2024-8995?
It affects 8 products.
Products include Wso2 Api Control Plane, Wso2 Api Manager, Wso2 Identity Server, Wso2 Identity Server as Key Manager, Wso2 Open Banking Am, Wso2 Open Banking Iam and 2 more.
How do I fix CVE-2024-8995?
No fix has been published for CVE-2024-8995 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2024-8995 being exploited?
There is no known exploitation of CVE-2024-8995 in the wild and no public exploit code.
Other vulnerabilities in Wso2 Api Manager
- CVE-2026-5430 WSO2 Multiple Products Path Traversal Vulnerability
- CVE-2026-1728 Privilege Escalation via System REST APIs in Multiple WSO2 Products Permits Admin Account Takeover
- CVE-2025-9312 Improper Certificate-Based Authentication Enforcement in Multiple WSO2 Products
- CVE-2025-10611 Potential Broken Access Control in Multiple WSO2 Products via System REST APIs
- CVE-2025-9152 Improper Privilege Management in Multiple WSO2 API Manager via keymanager-operations DCR Endpoint
Sources
Also known as GHSA-66c7-2f58-rwhj.