CVE-2024-8995
Authorization Code issued for Deleted User reuse in Multiple WSO2 Products Allows Unauthorized Access
Check your servers for CVE-2024-8995
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-8995 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 1.96% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Aug 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-613 DEPRECATED: Insufficient Session Expiration
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| WSO2 API Manager |
unknown before 3.1.0 affected from 3.1.0, before 3.1.0.320 affected from 3.2.0, before 3.2.0.413 affected from 3.2.1, before 3.2.1.90 affected from 4.0.0, before 4.0.0.334 affected from 4.1.0, before 4.1.0.255 affected from 4.2.0, before 4.2.0.195 affected from 4.3.0, before 4.3.0.106 affected from 4.4.0, before 4.4.0.70 affected from 4.5.0, before 4.5.0.55 affected from 4.6.0, before 4.6.0.19
Other versions: unaffected
|
| WSO2 Traffic Manager |
affected from 4.5.0, before 4.5.0.54 affected from 4.6.0, before 4.6.0.19
Other versions: unaffected
|
| WSO2 API Control Plane |
affected from 4.5.0, before 4.5.0.56 affected from 4.6.0, before 4.6.0.20
Other versions: unaffected
|
| WSO2 Universal Gateway |
affected from 4.5.0, before 4.5.0.55 affected from 4.6.0, before 4.6.0.19
Other versions: unaffected
|
| WSO2 Open Banking AM |
unknown before 2.0.0 affected from 2.0.0, before 2.0.0.369
Other versions: unaffected
|
| WSO2 Identity Server |
unknown before 5.10.0 affected from 5.10.0, before 5.10.0.345 affected from 5.11.0, before 5.11.0.395 affected from 6.0.0, before 6.0.0.229 affected from 6.1.0, before 6.1.0.208
Other versions: unaffected
|
| WSO2 Open Banking IAM |
unknown before 2.0.0 affected from 2.0.0, before 2.0.0.389
Other versions: unaffected
|
| WSO2 Identity Server as Key Manager |
unknown before 5.10.0 affected from 5.10.0, before 5.10.0.338
Other versions: unaffected
|
|
WSO2 Carbon OAuth
package
org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauth |
affected from 6.4.2, before 6.4.2.154 affected from 6.4.111, before 6.4.111.131 affected from 6.4.176, before 6.4.176.35 affected from 6.4.180, before 6.4.180.17 affected from 6.8.0, before 6.8.0.46 affected from 6.9.6, before 6.9.6.34 affected from 6.11.21, before 6.11.21.59 affected from 6.13.16, before 6.13.16.27 affected from 6.13.19, before 6.13.19.19 affected from 6.13.27, before 6.13.27.15 affected from 6.13.41, before 6.13.41.4 unaffected 6.11.53 and later
Other versions: unknown
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-8995 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-8995RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-8995Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-8995
trivy image --scanners vuln IMAGE | grep CVE-2024-8995
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-2753/ security.docs.wso2.com · vendor advisory
Source: the record CVE-2024-8995 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse