CVE-2025-3586
highpriority · track · 29OT risk · elevatedEPSS 0.004 · 36 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.8–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (17)
Products and version ranges known to be affected.
- liferay digital experience platform2023.Q3.1 → 2023.Q3.10nvdUScpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*
- liferay digital experience platform2023.q4.0 → 2023.q4.10nvdUScpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*
- liferay digital experience platform2024.Q1.1 → 2024.Q1.20nvdUScpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*
- liferay digital experience platform= 7.4nvdUScpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*
- Maven com.liferay:com.liferay.object.service< 1.0.96osvUSpkg:maven/com.liferay/com.liferay.object.service
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1940Liferay Portal: Schwachstelle ermöglicht Ausführen von beliebigem ProgrammcodeDeutsch2025-09-01csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Liferay Portal und Liferay DXP ausnutzen, um beliebigen Programmcode auszuführen.
- GHSA-m5gv-vj3f-6v2pLiferay Portal and DXP Instance Admin can execute code using Objects Actions and Validations2025-12-12ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-3586cnnvd
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-3586cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-3586cnnvd
- https://www.liferay.com/zh/downloads-communityPatchcnnvd
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-3586enisa_euvd
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-3586Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan