Security Advisory WSO2-2019-0621

Published: October 07, 2019

Severity: Low

CVSS Score: 3.5 (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N)


  • WSO2 API Manager
  • WSO2 IS as Key Manager
  • WSO2 Identity Server


A vulnerability has been detected when mapping Role with Scope. IS allows mapping scope with roles for a specific tenant with the users from any other different tenants.


When validating role-based scope using WSO2 Identity Server, we need to follow Scope Management for creating role-scope mapping1. This flow allows different tenant users to create role scope mapping in another specific tenant.


Any user from a different tenant domain can map scopes with the roles of another specific tenant. By doing this change, the user could access resources which are not supposed to access by that user.


Apply the following patches based on your product version by following the instructions in the README file. If you have any questions, post them to

Download the relevant patches based on the products you use following the matrix below. Patches can also be downloaded from Security Patch Releases.

Code Product Version Patch
AM WSO2 API Manager 2.6.0 WSO2-CARBON-PATCH-4.4.0-4757
IS KM WSO2 IS as Key Manager 5.7.0 WSO2-CARBON-PATCH-4.4.0-4757
IS WSO2 Identity Server 5.8.0 WSO2-CARBON-PATCH-4.4.0-4728


If you are a WSO2 customer with a support subscription, use WSO2 Update Manager (WUM) updates in order to apply the fix. This patch is intended for WSO2 community (free) users.

If you are using newer versions of the products than the ones mentioned in the SOLUTION section, this vulnerability is fixed.

It is highly recommended to migrate older versions of the WSO2 products to the latest released version to receive security fixes.