CVE-2024-8995
Authorization Code issued for Deleted User reuse in Multiple WSO2 Products Allows Unauthorized Access
Mitigation
- Upgrade WSO2 API Manager to 4.6.0.19 or later.
- Upgrade WSO2 Traffic Manager to 4.6.0.19 or later.
- Upgrade WSO2 API Control Plane to 4.6.0.20 or later.
- Upgrade WSO2 Universal Gateway to 4.6.0.19 or later.
- Upgrade WSO2 Open Banking AM to 2.0.0.369 or later.
- Upgrade WSO2 Identity Server to 6.1.0.208 or later.
- Upgrade WSO2 Open Banking IAM to 2.0.0.389 or later.
- Upgrade WSO2 Identity Server as Key Manager to 5.10.0.338 or later.
Who should check
- Anyone running WSO2 API 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.19
- Anyone running WSO2 Traffic Manager >= 4.5.0, < 4.5.0.54; >= 4.6.0, < 4.6.0.19
- Anyone running WSO2 API Control Plane >= 4.5.0, < 4.5.0.56; >= 4.6.0, < 4.6.0.20
- Anyone running WSO2 Universal Gateway >= 4.5.0, < 4.5.0.55; >= 4.6.0, < 4.6.0.19
- Anyone running WSO2 Open Banking AM >= 2.0.0, < 2.0.0.369
- Anyone running WSO2 Identity Server >= 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.208
- Anyone running WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.389
- Anyone running WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.338
Vulnerability facts
- Affected
- WSO2 API 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.19; WSO2 Traffic Manager >= 4.5.0, < 4.5.0.54; >= 4.6.0, < 4.6.0.19; WSO2 API Control Plane >= 4.5.0, < 4.5.0.56; >= 4.6.0, < 4.6.0.20; WSO2 Universal Gateway >= 4.5.0, < 4.5.0.55; >= 4.6.0, < 4.6.0.19; WSO2 Open Banking AM >= 2.0.0, < 2.0.0.369; WSO2 Identity Server >= 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.208; WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.389; WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.338; WSO2 Carbon OAuth >= 6.4.2, < 6.4.2.154; >= 6.4.111, < 6.4.111.131; >= 6.4.176, < 6.4.176.35; >= 6.4.180, < 6.4.180.17; >= 6.8.0, < 6.8.0.46; >= 6.9.6, < 6.9.6.34; >= 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; …
- Fixed in
- WSO2 API Manager 3.1.0.320, WSO2 API Manager 3.2.0.413, WSO2 API Manager 3.2.1.90, WSO2 API Manager 4.0.0.334, WSO2 API Manager 4.1.0.255, WSO2 API Manager 4.2.0.195, WSO2 API Manager 4.3.0.106, WSO2 API Manager 4.4.0.70, WSO2 API Manager 4.5.0.55, WSO2 API Manager 4.6.0.19, WSO2 Traffic Manager 4.5.0.54, WSO2 Traffic Manager 4.6.0.19, WSO2 API Control Plane 4.5.0.56, WSO2 API Control Plane 4.6.0.20, WSO2 Universal Gateway 4.5.0.55, WSO2 Universal Gateway 4.6.0.19, WSO2 Open Banking AM 2.0.0.369, WSO2 Identity Server 5.10.0.345, WSO2 Identity Server 5.11.0.395, WSO2 Identity Server 6.0.0.229, WSO2 Identity Server 6.1.0.208, WSO2 Open Banking IAM 2.0.0.389, WSO2 Identity Server as Key Manager 5.10.0.338, WSO2 Carbon OAuth 6.4.2.154, WSO2 Carbon OAuth 6.4.111.131, WSO2 Carbon OAuth 6.4.176.35, WSO2 Carbon OAuth 6.4.180.17, WSO2 Carbon OAuth 6.8.0.46, WSO2 Carbon OAuth 6.9.6.34, WSO2 Carbon OAuth 6.11.21.59, WSO2 Carbon OAuth 6.13.16.27, WSO2 Carbon OAuth 6.13.19.19, WSO2 Carbon OAuth 6.13.27.15
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- CWE
- CWE-613
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| WSO2 API 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.19 | — | cvelist |
| WSO2 Traffic Manager | >= 4.5.0, < 4.5.0.54; >= 4.6.0, < 4.6.0.19 | — | cvelist |
| WSO2 API Control Plane | >= 4.5.0, < 4.5.0.56; >= 4.6.0, < 4.6.0.20 | — | cvelist |
| WSO2 Universal Gateway | >= 4.5.0, < 4.5.0.55; >= 4.6.0, < 4.6.0.19 | — | cvelist |
| WSO2 Open Banking AM | >= 2.0.0, < 2.0.0.369 | — | cvelist |
| WSO2 Identity Server | >= 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.208 | — | cvelist |
| WSO2 Open Banking IAM | >= 2.0.0, < 2.0.0.389 | — | cvelist |
| WSO2 Identity Server as Key Manager | >= 5.10.0, < 5.10.0.338 | — | cvelist |
| WSO2 Carbon OAuth | >= 6.4.2, < 6.4.2.154; >= 6.4.111, < 6.4.111.131; >= 6.4.176, < 6.4.176.35; >= 6.4.180, < 6.4.180.17; >= 6.8.0, < 6.8.0.46; >= 6.9.6, < 6.9.6.34; >= 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; … | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-8995. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-8995.md Affected: WSO2 API 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.19; WSO2 Traffic Manager >= 4.5.0, < 4.5.0.54; >= 4.6.0, < 4… Fixed in: WSO2 API Manager 3.1.0.320, WSO2 API Manager 3.2.0.413, WSO2 API Manager 3.2.1.90, WSO2 API Manager 4.0.0.334, WSO2 API Manager 4.1.0.255, WSO2 API Manager 4.2.0.195, WSO2 API Manager 4.3.0.106, WSO2 API Manager 4.4.0.70, WSO2 API Manager 4.5.0.55, WSO2 API Manager 4.6.0.19, WSO2 Traffic Manager 4.… Steps: 1. Search this machine and project for WSO2 API Manager, WSO2 Traffic Manager, WSO2 API Control Plane, WSO2 Universal Gateway, WSO2 Open Banking AM, WSO2 Identity Server: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-8995 being exploited?
There is no confirmed exploitation: CVE-2024-8995 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-8995?
Medium: CVSS 4.9 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-8995?
WSO2 API 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.19; WSO2 Traffic Manager >= 4.5.0, < 4.5.0.54; >= 4.6.0, < 4.6.0.19; WSO2 API Control Plane >= 4.5.0, < 4.5.0.56; >= 4.6.0, < 4.6.0.20; WSO2 Universal Gateway >= 4.5.0, < 4.5.0.55; >= 4.6.0, < 4.6.0.19; WSO2 Open Banking AM >= 2.0.0, < 2.0.0.369; WSO2 Identity Server >= 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.208; WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.389; WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.338; WSO2 Carbon OAuth >= 6.4.2, < 6.4.2.154; >= 6.4.111, < 6.4.111.131; >= 6.4.176, < 6.4.176.35; >= 6.4.180, < 6.4.180.17; >= 6.8.0, < 6.8.0.46; >= 6.9.6, < 6.9.6.34; >= 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; ….
Is there a fix for CVE-2024-8995?
Yes. Fixed in WSO2 API Manager 3.1.0.320, WSO2 API Manager 3.2.0.413, WSO2 API Manager 3.2.1.90, WSO2 API Manager 4.0.0.334, WSO2 API Manager 4.1.0.255, WSO2 API Manager 4.2.0.195, WSO2 API Manager 4.3.0.106, WSO2 API Manager 4.4.0.70, WSO2 API Manager 4.5.0.55, WSO2 API Manager 4.6.0.19, WSO2 Traffic Manager 4.5.0.54, WSO2 Traffic Manager 4.6.0.19, WSO2 API Control Plane 4.5.0.56, WSO2 API Control Plane 4.6.0.20, WSO2 Universal Gateway 4.5.0.55, WSO2 Universal Gateway 4.6.0.19, WSO2 Open Banking AM 2.0.0.369, WSO2 Identity Server 5.10.0.345, WSO2 Identity Server 5.11.0.395, WSO2 Identity Server 6.0.0.229, WSO2 Identity Server 6.1.0.208, WSO2 Open Banking IAM 2.0.0.389, WSO2 Identity Server as Key Manager 5.10.0.338, WSO2 Carbon OAuth 6.4.2.154, WSO2 Carbon OAuth 6.4.111.131, WSO2 Carbon OAuth 6.4.176.35, WSO2 Carbon OAuth 6.4.180.17, WSO2 Carbon OAuth 6.8.0.46, WSO2 Carbon OAuth 6.9.6.34, WSO2 Carbon OAuth 6.11.21.59, WSO2 Carbon OAuth 6.13.16.27, WSO2 Carbon OAuth 6.13.19.19, WSO2 Carbon OAuth 6.13.27.15. Upgrade WSO2 API Manager to 4.6.0.19 or later. Upgrade WSO2 Traffic Manager to 4.6.0.19 or later. Upgrade WSO2 API Control Plane to 4.6.0.20 or later. Upgrade WSO2 Universal Gateway to 4.6.0.19 or later. Upgrade WSO2 Open Banking AM to 2.0.0.369 or later. Upgrade WSO2 Identity Server to 6.1.0.208 or later. Upgrade WSO2 Open Banking IAM to 2.0.0.389 or later. Upgrade WSO2 Identity Server as Key Manager to 5.10.0.338 or later.
How do I check if I'm affected by CVE-2024-8995?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.