Summary
CVE-2026-4052 is a critical missing-authorization (CWE-862) privilege escalation vulnerability in WSO2 API Manager. A self-registered user can reach the System REST APIs of API Manager by obtaining a token from the WSO2 Identity Server token endpoint. It has a CVSS v3.1 base score of 9.8 (Critical).
Technical details
- Root cause: Missing authorization (CWE-862) when WSO2 Identity Server acts as the Resident Key Manager.
- Trigger conditions: Only deployments where WSO2 Identity Server is configured as a Resident Key Manager with database sharing are affected.
- Attack vector: Network, with no privileges and no user interaction required. The attacker self-registers a user and obtains a token from the Identity Server token endpoint.
- Impact: The token gives access to the System REST APIs of WSO2 API Manager. The vendor states this lets unprivileged users invoke administrative APIs, potentially leading to full administrative account takeover.
Affected software
- WSO2 API Manager: 4.1.0, 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0
- WSO2 API Control Plane: 4.5.0, 4.6.0
- WSO2 Identity Server Key Manager Connector (apim-km-wso2is): versions before 1.8.8
Severity
CVSS v3.1 base score 9.8 (Critical): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Follow WSO2 advisory WSO2-2026-5212:
- Update WSO2 Identity Server and WSO2 API Manager to the latest U2 version.
- Update the WSO2 IS Connector on the Identity Server instances to the latest connector (1.8.8 or later). Replace the
wso2is.key.manager.coreandwso2is.notification.event.handlersjars inrepository/components/dropins. - Delete
keymanager-operations.warand its extracted directory fromrepository/deployment/server/webapps, then add the updatedkeymanager-operations.warfrom the connector package. - Restart all WSO2 Identity Server deployments.
- If no patch is possible: The advisory documents no workarounds. Restricting network access to the Identity Server token endpoint and the API Manager System REST APIs to trusted networks would reduce exposure, but this is general hardening and not a vendor-documented fix.

