# CVE-2024-8995: Unused authorization codes issued to deleted users are not being properly invalidated or removed from the system. This…

Source: https://junglewise.ai/threats/cve-2024-8995-unused-authorization-codes-issued-to-deleted-users-are-not-being  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-06  
License: CC BY 4.0 with a link back

CVE-2024-8995 · Severity: medium · CVSS 4.9 · Published 2026-08-06

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.

Technologies: [Wso2 API Control Plane](https://junglewise.ai/threats/technologies/api-control-plane), [Wso2 API Manager](https://junglewise.ai/threats/technologies/api-manager), [Wso2 Identity Server](https://junglewise.ai/threats/technologies/identity-server), [Wso2 Identity Server as Key Manager](https://junglewise.ai/threats/technologies/identity-server-as-key-manager), [Wso2 Open Banking AM](https://junglewise.ai/threats/technologies/open-banking-am), [Wso2 Open Banking IAM](https://junglewise.ai/threats/technologies/open-banking-iam), [Wso2 Traffic Manager](https://junglewise.ai/threats/technologies/traffic-manager), [Wso2 Universal Gateway](https://junglewise.ai/threats/technologies/universal-gateway). Vendors: [Wso2](https://junglewise.ai/threats/vendors/wso2).

## Quick answers

**Is CVE-2024-8995 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-8995 being exploited in the wild.

**How severe is CVE-2024-8995?** Medium severity, with a CVSS score of 4.9, published 6 August 2026.

**Which products and versions are affected?** Wso2 API Control Plane, Wso2 API Manager, Wso2 Identity Server, Wso2 Identity Server as Key Manager and 4 more. The advisory does not name versions.

**Is there a fix for CVE-2024-8995?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2024-8995?** Check whether you run Wso2 API Control Plane, Wso2 API Manager, Wso2 Identity Server or one of the others listed. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Wso2 API Control Plane
- Wso2 API Manager
- Wso2 Identity Server
- Wso2 Identity Server as Key Manager
- Wso2 Open Banking AM
- Wso2 Open Banking IAM
- Wso2 Traffic Manager
- Wso2 Universal Gateway

## Related threats

- [WSO2 Identity Server privilege escalation via client credentials grant type](https://junglewise.ai/threats/cve-2025-11229-the-system-fails-to-properly-enforce-scope-authorization-when-the)
- [WSO2 Identity Server privilege escalation via shared database](https://junglewise.ai/threats/cve-2026-4052-this-issue-only-impacts-deployments-where-wso2-identity-server-is)
- [WSO2 Access token issuance without IDP status validation](https://junglewise.ai/threats/cve-2025-1397-when-utilizing-jwt-bearer-or-saml2-bearer-grant-types-the-system)
- [WSO2 API Manager Admin REST API SQL injection](https://junglewise.ai/threats/cve-2026-2613-the-admin-rest-api-accepts-user-supplied-input-without-adequately)
- [WSO2 API Manager SVG upload stored XSS in Publisher portal](https://junglewise.ai/threats/cve-2025-12544-the-publisher-portal-fails-to-enforce-proper-validation-on)
