CVE-2025-3586: High severity Liferay portal vulnerability

Published Sep 1, 2025
·
Updated

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

24 affected componentsFixes available
Liferay portal>=7.4.3.27<=7.4.3.42
Liferay DXP>=2023.Q3.1<=2023.Q3.10, >=2023.Q4.0<=2023.Q4.10, >=2024.Q1.1<=2024.Q1.20
Liferay portal>=7.4 update 27<=7.4 update 42
maven/com.liferay:com.liferay.object.service<1.0.96
1.0.96
Liferay Digital Experience Platform>=2023.Q3.1<=2023.Q3.10
Liferay Digital Experience Platform>=2023.q4.0<=2023.q4.10
Liferay Digital Experience Platform>=2024.Q1.1<=2024.Q1.20
Liferay Digital Experience Platform=7.4-update27
Liferay Digital Experience Platform=7.4-update28
Liferay Digital Experience Platform=7.4-update29
Liferay Digital Experience Platform=7.4-update30
Liferay Digital Experience Platform=7.4-update31
Liferay Digital Experience Platform=7.4-update32
Liferay Digital Experience Platform=7.4-update33
Liferay Digital Experience Platform=7.4-update34
Liferay Digital Experience Platform=7.4-update35
Liferay Digital Experience Platform=7.4-update36
Liferay Digital Experience Platform=7.4-update37
Liferay Digital Experience Platform=7.4-update38
Liferay Digital Experience Platform=7.4-update39
Liferay Digital Experience Platform=7.4-update40
Liferay Digital Experience Platform=7.4-update41
Liferay Digital Experience Platform=7.4-update42
Liferay Liferay Portal>=7.4.3.27<7.4.3.43

Event History

Sep 1, 2025
CVE Published
via MITRE·06:07 PM
Data Sourced
via MITRE·06:07 PM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Dec 12, 2025
Advisory Published
via GitHub·09:31 PM
Data Sourced
via GitHub·09:31 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203