CVE-2024-8995 Authorization Code issued for Deleted User reuse in Multiple WSO2 Products Allows Unauthorized Access

Medium 4.9 Published Updated

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.

All Wso2 Api Manager vulnerabilities

Sources

Also known as GHSA-66c7-2f58-rwhj.

Is CVE-2024-8995 in your software?

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

Check your SBOMs for free