CVE-2024-8995

Authorization Code issued for Deleted User reuse in Multiple WSO2 Products Allows Unauthorized Access

State
Published
Severity
4.9 Medium
Published
Aug 6, 2026
Updated
Aug 6, 2026
Reserved
Sep 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:NWSO2

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
WSO2 API ManagerWSO2
  • before 3.1.0Unknown
  • 3.1.0 to before 3.1.0.320Affected
  • 3.2.0 to before 3.2.0.413Affected
  • 3.2.1 to before 3.2.1.90Affected
  • 4.0.0 to before 4.0.0.334Affected
  • 4.1.0 to before 4.1.0.255Affected
  • 4.2.0 to before 4.2.0.195Affected
  • 4.3.0 to before 4.3.0.106Affected
  • 4.4.0 to before 4.4.0.70Affected
  • 4.5.0 to before 4.5.0.55Affected
  • 4.6.0 to before 4.6.0.19Affected
WSO2 Traffic ManagerWSO2
  • 4.5.0 to before 4.5.0.54Affected
  • 4.6.0 to before 4.6.0.19Affected
WSO2 API Control PlaneWSO2
  • 4.5.0 to before 4.5.0.56Affected
  • 4.6.0 to before 4.6.0.20Affected
WSO2 Universal GatewayWSO2
  • 4.5.0 to before 4.5.0.55Affected
  • 4.6.0 to before 4.6.0.19Affected
WSO2 Open Banking AMWSO2
  • before 2.0.0Unknown
  • 2.0.0 to before 2.0.0.369Affected
WSO2 Identity ServerWSO2
  • before 5.10.0Unknown
  • 5.10.0 to before 5.10.0.345Affected
  • 5.11.0 to before 5.11.0.395Affected
  • 6.0.0 to before 6.0.0.229Affected
  • 6.1.0 to before 6.1.0.208Affected
WSO2 Open Banking IAMWSO2
  • before 2.0.0Unknown
  • 2.0.0 to before 2.0.0.389Affected
WSO2 Identity Server as Key ManagerWSO2
  • before 5.10.0Unknown
  • 5.10.0 to before 5.10.0.338Affected
WSO2 Carbon OAuthWSO2
  • 6.4.2 to before 6.4.2.154Affected
  • 6.4.111 to before 6.4.111.131Affected
  • 6.4.176 to before 6.4.176.35Affected
  • 6.4.180 to before 6.4.180.17Affected
  • 6.8.0 to before 6.8.0.46Affected
  • 6.9.6 to before 6.9.6.34Affected
  • 6.11.21 to before 6.11.21.59Affected
  • 6.13.16 to before 6.13.16.27Affected
  • 6.13.19 to before 6.13.19.19Affected
  • 6.13.27 to before 6.13.27.15Affected
  • 6.13.41 to before 6.13.41.4Affected
  • 6.11.53 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.