# CVE-2025-3586: Liferay Portal and DXP Instance Admin can execute code using Objects Actions and Validations

- Severity: High 7.5 (CVSS:4.0, scored by Liferay) `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-02)
- Published: 2025-09-01T18:07:56.434Z
- Modified: 2026-10-18T21:10:00.120Z
- Also known as: GHSA-m5gv-vj3f-6v2p
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Liferay

## 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.

(As written by CVE List.)

## Affected

- Liferay Portal: from 7.4.3.27 up to 7.4.3.42
- Liferay DXP: from 7.4.13-u27 up to 7.4.13-u42; from 2023.Q3.1 up to 2023.Q3.10; from 2023.Q4.0 up to 2023.Q4.10; from 2024.Q1.1 up to 2024.Q1.20
- com.liferay:com.liferay.object.service (Maven): before 1.0.96
- liferay digital_experience_platform: from 2023.Q3.1 up to 2023.Q3.10; from 2023.q4.0 up to 2023.q4.10; from 2024.Q1.1 up to 2024.Q1.20; 7.4
- liferay liferay_portal: from 7.4.3.27 before 7.4.3.43

## Every score

- Liferay: CVSS:4.0 7.5 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-3586> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3586> (advisory)
- <https://github.com/liferay/liferay-portal/commit/3b9e3bb1462ccd33ede05f73f45b38b8262f018f> (web)
- <https://github.com/liferay/liferay-portal/commit/79ddc243e60864c0c30cfccb1cc46e705e922cb0> (web)
- <https://github.com/liferay/liferay-portal/commit/b2aa19be228fb308ebe8ae1f47d3224e1fd06225> (web)
- <https://github.com/liferay/liferay-portal> (package)
- <https://liferay.atlassian.net/browse/LPE-17586> (web)

## Sources

- CVE List: [CVE-2025-3586](https://www.cve.org/CVERecord?id=CVE-2025-3586), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-m5gv-vj3f-6v2p](https://github.com/advisories/GHSA-m5gv-vj3f-6v2p), CC-BY-4.0, modified 2025-12-12
- NVD: [CVE-2025-3586](https://nvd.nist.gov/vuln/detail/CVE-2025-3586), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-3586 · Whole record: https://cve.day/CVE-2025-3586.json · Rebuilt by cve.day 2026-11-25T22:59:03.973Z
