CVE-2025-3586 Details
Description
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.
A remote code execution vulnerability has been identified in Liferay Portal versions 7.4.3.27 through 7.4.3.42, as well as in Liferay DXP versions 2024.Q1.1 through 2024.Q1.20, 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, and 7.4 update 27 through update 42. The vulnerability arises because the Objects module does not restrict Admin Users from using Groovy scripts in Object actions. This oversight allows remote authenticated admin users with the Instance Administrator role to execute arbitrary Groovy scripts, leading to remote code execution. In contrast, Liferay DXP (Liferay SaaS) prohibits the use of Groovy in Object actions due to significant security risks. Starting with Liferay DXP 2024.Q2, administrators can configure whether Groovy scripts are permitted in their instances.
Users can upgrade to Liferay Portal 7.4.3.43 or Liferay DXP 2024.Q2.0 or 2024.Q3.0 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-3586 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| liferay digital experience platform | >= 2023.Q3.1, <= 2023.Q3.10 >= 2023.q4.0, <= 2023.q4.10 >= 2024.Q1.1, <= 2024.Q1.20 7.4 update27 7.4 update28 7.4 update29 7.4 update30 7.4 update31 7.4 update32 7.4 update33 7.4 update34 7.4 update35 7.4 update36 7.4 update37 7.4 update38 7.4 update39 7.4 update40 7.4 update41 7.4 update42 |
CPE
Remediation
| |
| liferay liferay portal | >= 7.4.3.27, < 7.4.3.43 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 12, 2025 | Initial Analysis | [email protected] |
| Sep 1, 2025 | New CVE Received | [email protected] |