CVE-2026-4052

Privilege Escalation via Token Endpoint in WSO2 API Manager (APIM 4.x/IS as Resident Key Manager)

Published Nov 3, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
This issue only impacts deployments where WSO2 Identity Server is configured as a Resident Key Manager with database sharing. In such environments, a self-registered user may gain access to the System REST APIs of WSO2 API Manager by obtaining a token from the WSO2 Identity Server token endpoint.

Analysis

AI-generated

Technical impact

A self‑registered user can acquire a JSON Web Token from the WSO2 Identity Server token endpoint when the Identity Server is configured as a Resident Key Manager with database sharing. The token can be used to call the System REST APIs of WSO2 API Manager, allowing the attacker to access and manipulate system‑level functions that are normally restricted to administrators. This gives the attacker the ability to alter or delete APIs, modify tenant configurations, and potentially expose internal data.

Affected Systems

Deployments that include WSO2 API Control Plane, WSO2 API Manager, and the WSO2 Identity Server Key Manager Connector (apim-km-wso2is) are impacted. The vulnerability is only present when the Identity Server operates as a Resident Key Manager with shared database access. No specific version numbers are listed, so all current releases that use this configuration are potentially affected.

Risk and Exploitability

The CVSS score of 9.8 indicates critical severity. The EPSS score is unavailable, but the lack of KEV listing suggests that exploitation is not yet widespread. The only prerequisite is the specific configuration of the Identity Server, making exploitation feasible for attackers who can create a self‑registered account in that environment. The impact on confidentiality, integrity, and availability is system‑wide for the impacted tenant, making this a high‑risk condition.

Remediation

Vendor Solution

Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2026-5212/#solution


OpenCVE Recommended Actions

  • Apply the vendor‑published patch for WSO2 API Manager and Identity Server as outlined at the provided security documentation link.
  • Disable or remove the Resident Key Manager database sharing configuration if it is not required, which limits token issuance from the Identity Server to only authorized services.
  • Configure the System REST APIs with strict role‑based access controls to ensure that only authenticated clients with the appropriate scopes can invoke them.
  • As a temporary workaround, deny token requests for system‑level scopes from anonymous or self‑registered users through the Identity Server token endpoint settings.

Generated by OpenCVE AI on November 3, 2026 at 09:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wso2
Wso2 api Control Plane
Wso2 api Manager
Wso2 wso2 Api Control Plane
Wso2 wso2 Api Manager
Wso2 wso2 Identity Server Key Manager Connector
Vendors & Products Wso2
Wso2 api Control Plane
Wso2 api Manager
Wso2 wso2 Api Control Plane
Wso2 wso2 Api Manager
Wso2 wso2 Identity Server Key Manager Connector
Type Values Removed Values Added
Description This issue only impacts deployments where WSO2 Identity Server is configured as a Resident Key Manager with database sharing. In such environments, a self-registered user may gain access to the System REST APIs of WSO2 API Manager by obtaining a token from the WSO2 Identity Server token endpoint.
Title Privilege Escalation via Token Endpoint in WSO2 API Manager (APIM 4.x/IS as Resident Key Manager)
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
WSO2
Published
Updated
Nov 3, 2026, 8:08 PM
Reserved
Mar 12, 2026, 3:04 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 8:17 AM
Modified
Nov 3, 2026, 8:18 PM