CVE-2025-3586: High severity Liferay portal vulnerability
In Liferay Portal 7.4.3.27 through 7.4.3.42, and Liferay DXP 2024.Q1.1 through 2024.Q1.20, 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, 7.4 update 27 through update 42 (Liferay PaaS, and Liferay Self-Hosted), the Objects module does not restrict the use of Groovy scripts in Object actions for Admin Users. This allows remote authenticated admin users with the Instance Administrator role to execute arbitrary Groovy scripts (i.e., remote code execution) through Object actions.
In contrast, in Liferay DXP (Liferay SaaS), the use of Groovy in Object actions is not allowed due to the high security risks it poses.
Starting from Liferay DXP 2024.Q2 and later, a new feature has been introduced in Instance Settings that allows administrators to configure whether Groovy scripts are allowed in their instances.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-3586?
CVE-2025-3586 has been assessed as a high-severity vulnerability due to the unrestricted use of Groovy scripts.
How do I fix CVE-2025-3586?
To remediate CVE-2025-3586, upgrade Liferay Portal to version 7.4.3.43 or later, and Liferay DXP to versions higher than 2024.Q1.20.
What software versions are affected by CVE-2025-3586?
CVE-2025-3586 affects Liferay Portal versions 7.4.3.27 to 7.4.3.42 and Liferay DXP versions across specific 2023 and 2024 quarterly releases.
What risks are associated with CVE-2025-3586?
The risks include potential unauthorized access and execution of malicious scripts, which could compromise the system's integrity.
Is there a workaround for CVE-2025-3586?
While upgrading is the best solution for CVE-2025-3586, disabling Groovy script execution in the Objects module can serve as a temporary workaround.