# CVE-2024-1248: Role Overwriting via Silent JIT Provisioning in Multiple WSO2 Products Enables Privilege Escalation

- Severity: Medium 4.8 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- 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.30%, higher than 15% of CVEs (2026-11-30)
- Published: 2026-07-04T20:38:49.590Z
- Modified: 2026-07-09T18:47:41.403Z
- Weaknesses: CWE-298
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: WSO2

## Description

The silent Just-In-Time (JIT) provisioning feature in federated authentication implementations fails to properly segregate user roles during account creation when a federated user shares a username with a local user. This allows the provisioning process to overwrite existing roles of local users with roles assigned to the federated user.

Exploitation requires a federated identity provider (IDP) with silent JIT provisioning enabled and an attacker's knowledge of a local user's username. When these conditions are met, a malicious individual can leverage the JIT provisioning process to modify the roles of local users. The overwritten roles are limited to those defined within the federated IDP, typically granting minimal access rights unless explicitly configured otherwise by the federated IDP administrator.

(As written by CVE List.)

## Affected

- WSO2 WSO2 API Manager: before 3.0.0; from 3.0.0 before 3.0.0.153; from 3.1.0 before 3.1.0.267; from 3.2.0 before 3.2.0.351; from 4.0.0 before 4.0.0.269; from 4.1.0 before 4.1.0.169
- WSO2 WSO2 Identity Server: before 5.8.0; from 5.8.0 before 5.8.0.101; from 5.9.0 before 5.9.0.138; from 5.10.0 before 5.10.0.284; from 5.11.0 before 5.11.0.321
- WSO2 WSO2 Identity Server as Key Manager: before 5.9.0; from 5.9.0 before 5.9.0.148; from 5.10.0 before 5.10.0.280
- WSO2 WSO2 Open Banking AM: before 2.0.0; from 2.0.0 before 2.0.0.313
- WSO2 WSO2 Open Banking IAM: before 2.0.0; from 2.0.0 before 2.0.0.333
- wso2 api_manager: from 3.0.0 before 3.0.0.153; from 3.1.0 before 3.1.0.267; from 3.2.0 before 3.2.0.351; from 4.0.0 before 4.0.0.269; from 4.1.0 before 4.1.0.169
- wso2 identity_server: from 5.8.0 before 5.8.0.101; from 5.9.0 before 5.9.0.138; from 5.10.0 before 5.10.0.284; from 5.11.0 before 5.11.0.321
- wso2 identity_server_as_key_manager: from 5.9.0 before 5.9.0.148; from 5.10.0 before 5.10.0.280
- wso2 open_banking_am: from 2.0.0 before 2.0.0.313
- wso2 open_banking_iam: from 2.0.0 before 2.0.0.333

## Every score

- WSO2: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3179/> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-1248](https://www.cve.org/CVERecord?id=CVE-2024-1248), CVE Terms of Use, modified 2026-07-06
- NVD: [CVE-2024-1248](https://nvd.nist.gov/vuln/detail/CVE-2024-1248), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2024-1248 · Whole record: https://cve.day/CVE-2024-1248.json · Rebuilt by cve.day 2026-11-25T22:58:53.040Z
