WSO2 Micro Integrator
Arbitrary Code Execution with higher privileged users in Multiple WSO2 Products via Script Mediator Engines (GraalJS and NashornJS)
An arbitrary code execution vulnerability exists in multiple WSO2 products due to insufficient restrictions in the GraalJS and NashornJS Script Mediator engines. Authenticated users with elevated privileges can execute arbitrary code within the integration runtime environment. By default, access to these scripting engines is limited to administrators in WSO2 Micro Integrator and WSO2 Enterprise Integrator, while in WSO2 API Manager, access extends to both administrators and API creators. This may allow trusted-but-privileged users to perform unauthorized actions or compromise the execution environment.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.0.0, < 4.0.0.145
- >= 4.1.0, < 4.1.0.147
- >= 4.2.0, < 4.2.0.141
- >= 4.3.0, < 4.3.0.42
- >= 4.4.0, < 4.4.0.27
Fixed in 4.0.0.145, 4.1.0.147, 4.2.0.141, 4.3.0.42, 4.4.0.27
- >= 3.1.0, < 3.1.0.345
- >= 3.2.0, < 3.2.0.446
- >= 3.2.1, < 3.2.1.66
- >= 4.0.0, < 4.0.0.366
- >= 4.1.0, < 4.1.0.228
- >= 4.2.0, < 4.2.0.169
- >= 4.3.0, < 4.3.0.81
- >= 4.4.0, < 4.4.0.45
- >= 4.5.0, < 4.5.0.28
Fixed in 3.1.0.345, 3.2.0.446, 3.2.1.66, 4.0.0.366, 4.1.0.228, 4.2.0.169, 4.3.0.81, 4.4.0.45, 4.5.0.28
- >= 6.6.0, < 6.6.0.224
Fixed in 6.6.0.224
- >= 4.5.0, < 4.5.0.27
Fixed in 4.5.0.27
- >= 4.5.0, < 4.5.0.29
Fixed in 4.5.0.29
- >= 4.5.0, < 4.5.0.27
Fixed in 4.5.0.27
- >= 2.0.0, < 2.0.0.414
Fixed in 2.0.0.414
- >= 2.0.0, < 2.0.0.394
Fixed in 2.0.0.394
- >= 5.10.0, < 5.10.0.365
Fixed in 5.10.0.365
- >= 2.1.7.wso2v227, < 2.1.7.wso2v227_99
- >= 2.1.7.wso2v271, < 2.1.7.wso2v271_88
- >= 2.1.7.wso2v143, < 2.1.7.wso2v143_121
- >= 2.1.7.wso2v319, < 2.1.7.wso2v319_13
- >= 2.1.7.wso2v183, < 2.1.7.wso2v183_72
- >= 4.0.0.wso2v119, < 4.0.0.wso2v119_27
- >= 4.0.0.wso2v20, < 4.0.0.wso2v20_93
- >= 4.0.0.wso2v215, < 4.0.0.wso2v215_26
- >= 4.0.0.wso2v218, < 4.0.0.wso2v218_1
- >= 4.0.0.wso2v105, < 4.0.0.wso2v105_13
- >= 4.0.0.wso2v131, < 4.0.0.wso2v131_5
Fixed in 2.1.7.wso2v227_99, 2.1.7.wso2v271_88, 2.1.7.wso2v143_121, 2.1.7.wso2v319_13, 2.1.7.wso2v183_72, 4.0.0.wso2v119_27, 4.0.0.wso2v20_93, 4.0.0.wso2v215_26, 4.0.0.wso2v218_1, 4.0.0.wso2v105_13, 4.0.0.wso2v131_5, 4.0.0-wso2v254
- >= 2.1.7.wso2v227, < 2.1.7.wso2v227_99
- >= 2.1.7.wso2v271, < 2.1.7.wso2v271_88
- >= 2.1.7.wso2v143, < 2.1.7.wso2v143_121
- >= 2.1.7.wso2v319, < 2.1.7.wso2v319_13
- >= 2.1.7.wso2v183, < 2.1.7.wso2v183_72
- >= 4.0.0.wso2v119, < 4.0.0.wso2v119_27
- >= 4.0.0.wso2v20, < 4.0.0.wso2v20_93
- >= 4.0.0.wso2v215, < 4.0.0.wso2v215_26
- >= 4.0.0.wso2v218, < 4.0.0.wso2v218_1
- >= 4.0.0.wso2v105, < 4.0.0.wso2v105_13
- >= 4.0.0.wso2v131, < 4.0.0.wso2v131_5
Fixed in 2.1.7.wso2v227_99, 2.1.7.wso2v271_88, 2.1.7.wso2v143_121, 2.1.7.wso2v319_13, 2.1.7.wso2v183_72, 4.0.0.wso2v119_27, 4.0.0.wso2v20_93, 4.0.0.wso2v215_26, 4.0.0.wso2v218_1, 4.0.0.wso2v105_13, 4.0.0.wso2v131_5, 4.0.0-wso2v254
Mitigation
Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4510/#solution
References
- Vendor advisory security.docs.wso2.com/en/latest/security-announcements/se…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.