# CVE-2023-6837: Incorrect Authorization in Multiple WSO2 Products via Federated Authentication with JIT Provisioning Leading to User Impersonation

- Priority: **Routine**
- Reason: Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-12-15 · Modified: 2025-09-25
- Aliases: GHSA-f6jm-9pr8-9c3w
- Record: https://cvemate.com/vulnerability/CVE-2023-6837 · JSON: https://cvemate.com/vulnerability/CVE-2023-6837/json

## Description

```text
Multiple WSO2 products have been identified as vulnerable to perform user impersonatoin using JIT provisioning. In order for this vulnerability to have any impact on your deployment, following conditions must be met:

  *  An IDP configured for federated authentication and JIT provisioning enabled with the "Prompt for username, password and consent" option.
  *  A service provider that uses the above IDP for federated authentication and has the "Assert identity using mapped local subject identifier" flag enabled.


Attacker should have:

  *  A fresh valid user account in the federated IDP that has not been used earlier.
  *  Knowledge of the username of a valid user in the local IDP.


When all preconditions are met, a malicious actor could use JIT provisioning flow to perform user impersonation.
```

## Signals

- CVSS: 8.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
- EPSS: 0.46%, percentile 41.588%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.wso2.carbon.identity.framework org.wso2.carbon.identity.application.authentication.framework (Maven): \< 5.20.254
- org.wso2.identity.apps authentication-portal (Maven): \< 1.6.179.1
- wso2 api\_manager: ≥ 2.5.0, \< 2.5.0.32 \| ≥ 2.6.0, \< 2.6.0.52 \| ≥ 3.0.0, \< 3.0.0.50 \| ≥ 3.1.0, \< 3.1.0.72 \| ≥ 3.2.0, \< 3.2.0.86 \| ≥ 4.0.0, \< 4.0.0.35
- wso2 carbon\_identity\_application\_authentication\_endpoint: \< 5.11.256.3 \| ≥ 5.11.257.0, \< 5.12.153.19 \| ≥ 5.12.154.0, \< 5.20.254
- wso2 carbon\_identity\_application\_authentication\_framework: \< 5.11.256.3 \| ≥ 5.11.257.0, \< 5.12.153.21 \| ≥ 5.12.154.0, \< 5.12.387.7 \| ≥ 5.12.388.0, \< 5.14.97.22 \| ≥ 5.14.98.0, \< 5.17.5.106 \| ≥ 5.17.6.0, \< 5.18.187.76 \| ≥ 5.18.188.0, \< 5.20.254
- wso2 identity\_server: ≥ 5.6.0, \< 5.6.0.16 \| ≥ 5.7.0, \< 5.7.0.35 \| ≥ 5.8.0, \< 5.8.0.26 \| ≥ 5.9.0, \< 5.9.0.38 \| ≥ 5.10.0, \< 5.10.0.78 \| ≥ 5.11.0, \< 5.11.0.69
- wso2 identity\_server\_as\_key\_manager: ≥ 5.6.0, \< 5.6.0.17 \| ≥ 5.7.0, \< 5.7.0.39 \| ≥ 5.9.0, \< 5.9.0.45 \| ≥ 5.10.0, \< 5.10.0.80
- wso2 wso2 api manager: ≥ 2.5.0, \< 2.5.0.32 \| ≥ 2.6.0, \< 2.6.0.52 \| ≥ 3.0.0, \< 3.0.0.50 \| ≥ 3.1.0, \< 3.1.0.72 \| ≥ 3.2.0, \< 3.2.0.86 \| ≥ 4.0.0, \< 4.0.0.35
- wso2 wso2 carbon identity application authentication framework: ≥ 5.11.256, \< 5.11.256.3 \| ≥ 5.12.153, \< 5.12.153.21 \| ≥ 5.12.387, \< 5.12.387.7 \| ≥ 5.14.97, \< 5.14.97.22 \| ≥ 5.17.5, \< 5.17.5.106 \| ≥ 5.18.187, \< 5.18.187.76
- wso2 wso2 identity server: ≥ 5.6.0, \< 5.6.0.16 \| ≥ 5.7.0, \< 5.7.0.35 \| ≥ 5.8.0, \< 5.8.0.26 \| ≥ 5.9.0, \< 5.9.0.38 \| ≥ 5.10.0, \< 5.10.0.78 \| ≥ 5.11.0, \< 5.11.0.69
- wso2 wso2 identity server as key manager: ≥ 5.6.0, \< 5.6.0.17 \| ≥ 5.7.0, \< 5.7.0.39 \| ≥ 5.9.0, \< 5.9.0.45 \| ≥ 5.10.0, \< 5.10.0.80

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1573/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-6837>
- <https://github.com/wso2/carbon-identity-framework/commit/fdab609760784086b8a3f55f7acf46d977a03d79>
- <https://github.com/wso2/identity-apps/commit/1424203bbe81688d661ea8b8cd28e332302e1c53>
- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1573>

---

Data as of 2026-12-05T13:03:23.269Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
