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

- Severity: High 8.5 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2023-12-15T09:41:22.719Z
- Modified: 2026-06-17T06:51:30.790Z
- Also known as: GHSA-f6jm-9pr8-9c3w
- Weaknesses: CWE-863
- Assigned by: WSO2

## Description

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.

(As written by CVE List.)

## Affected

- WSO2 WSO2 API Manager: before 2.5.0; from 2.5.0 before 2.5.0.32; from 2.6.0 before 2.6.0.52; from 3.0.0 before 3.0.0.50; from 3.1.0 before 3.1.0.72; from 3.2.0 before 3.2.0.86; from 4.0.0 before 4.0.0.35
- WSO2 WSO2 Identity Server: before 5.6.0; from 5.6.0 before 5.6.0.16; from 5.7.0 before 5.7.0.35; from 5.8.0 before 5.8.0.26; from 5.9.0 before 5.9.0.38; from 5.10.0 before 5.10.0.78; from 5.11.0 before 5.11.0.69
- WSO2 WSO2 Identity Server as Key Manager: before 5.6.0; from 5.6.0 before 5.6.0.17; from 5.7.0 before 5.7.0.39; from 5.9.0 before 5.9.0.45; from 5.10.0 before 5.10.0.80
- org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework: from 5.11.256 before 5.11.256.3; from 5.12.153 before 5.12.153.21; from 5.12.387 before 5.12.387.7; from 5.14.97 before 5.14.97.22; from 5.17.5 before 5.17.5.106; from 5.18.187 before 5.18.187.76 (not affected: from 5.20.254 up to *)
- org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework (Maven): before 5.20.254
- org.wso2.identity.apps:authentication-portal (Maven): before 1.6.179.1
- wso2 api_manager: from 2.5.0 before 2.5.0.32; from 2.6.0 before 2.6.0.52; from 3.0.0 before 3.0.0.50; from 3.1.0 before 3.1.0.72; from 3.2.0 before 3.2.0.86; from 4.0.0 before 4.0.0.35
- wso2 identity_server: from 5.6.0 before 5.6.0.16; from 5.7.0 before 5.7.0.35; from 5.8.0 before 5.8.0.26; from 5.9.0 before 5.9.0.38; from 5.10.0 before 5.10.0.78; from 5.11.0 before 5.11.0.69
- wso2 identity_server_as_key_manager: from 5.6.0 before 5.6.0.17; from 5.7.0 before 5.7.0.39; from 5.9.0 before 5.9.0.45; from 5.10.0 before 5.10.0.80
- wso2 carbon_identity_application_authentication_endpoint: before 5.11.256.3; from 5.11.257.0 before 5.12.153.19; from 5.12.154.0 before 5.20.254
- wso2 carbon_identity_application_authentication_framework: before 5.11.256.3; from 5.11.257.0 before 5.12.153.21; from 5.12.154.0 before 5.12.387.7; from 5.12.388.0 before 5.14.97.22; from 5.14.98.0 before 5.17.5.106; from 5.17.6.0 before 5.18.187.76; from 5.18.188.0 before 5.20.254

## Every score

- WSO2: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`

## References

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

## Sources

- CVE List: [CVE-2023-6837](https://www.cve.org/CVERecord?id=CVE-2023-6837), CVE Terms of Use, modified 2025-09-25
- GitHub Advisory Database: [GHSA-f6jm-9pr8-9c3w](https://github.com/advisories/GHSA-f6jm-9pr8-9c3w), CC-BY-4.0, modified 2024-12-02
- NVD: [CVE-2023-6837](https://nvd.nist.gov/vuln/detail/CVE-2023-6837), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-6837 · Whole record: https://cve.day/CVE-2023-6837.json · Rebuilt by cve.day 2026-11-25T22:58:31.381Z
