CVE-2025-3586

HIGH
Published Sep 1, 2025 Modified Dec 12, 2025 CWE-863

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.

Is your site exposed to CVE-2025-3586?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.2
HIGH
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-863 Incorrect Authorization

Affected Products

Vendor Product
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay digital_experience_platform
liferay liferay_portal

References

Frequently Asked Questions

What is CVE-2025-3586? +
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. It has a CVSS v3.1 base score of 7.2 (HIGH).
How severe is CVE-2025-3586? +
CVE-2025-3586 has a CVSS v3.1 score of 7.2 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2025-3586? +
CVE-2025-3586 affects products from liferay, specifically: digital_experience_platform, liferay_portal. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-3586? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-3586 — free, no signup required.