CVE-2025-3586 in Liferay Portal and 2 more products
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 Us...
Affects 3 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Liferay | Portal | ≥ 7.4.3.27, < 7.4.3.43 ≥ 7.4.3.27, ≤ 7.4.3.42 |
| Liferay | Liferay Portal | ≥ 7.4.3.27, < 7.4.3.43 ≥ 7.4.3.27, ≤ 7.4.3.42 |
| Liferay | Digital Experience Platform | 7.4 ≥ 2023.Q3.1, ≤ 2023.Q3.10 ≥ 2023.q4.0, ≤ 2023.q4.10 ≥ 2024.Q1.1, ≤ 2024.Q1.20 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-3586 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-258265-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-09-01 |
| Last modified | 2026-10-18 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
{ "executive_summary": "Liferay Portal and DXP versions 7.4.3.27 through 7.4.3.42, 2024.Q1.1 through 2024.Q1.20, 2023.Q4.0 through 2023.Q4.10, and 2023.Q3.1 through 2023.Q3.10 allow remote authenticated admin users to execute arbitrary Groovy scripts through the Objects module, leading to potential code execution.", "attack_vector_detail": "An attacker with administrative privileges can craft and execute malicious Groovy scripts within the Objects module, which can lead to unauthorized actions, data breaches, or system compromise.", "affected_components": ["Liferay Portal 7.4.3.27 through 7.4.3.42", "Liferay DXP 2024.Q1.1 through 2024.Q1.20", "Liferay DXP 2023.Q4.0 through 2023.Q4.10", "Liferay DXP 2023
Vulnerability details: 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 c CVSS vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2025-3586?
{ "executive_summary": "Liferay Portal and DXP versions 7.4.3.27 through 7.4.3.42, 2024.Q1.1 through 2024.Q1.20, 2023.Q4.0 through 2023.Q4.10, and 2023.Q3.1 through 2023.Q3.10 allow remote authenticated admin users to execute arbitrary Groovy scripts through the Objects module, leading to potential code execution.", "attack_vector_detail": "An attacker with administrative privileges can craft and execute malicious Groovy scripts within the Objects module, which can lead to unauthorized actio
What is the CVSS score for CVE-2025-3586?
CVE-2025-3586 has CVSS 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.9%.
Is CVE-2025-3586 actively exploited?
No confirmed active exploitation of CVE-2025-3586 as of 2026-10-24.
How do I remediate CVE-2025-3586?
Priority: MEDIUM. Advisory: https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-3586 PSIRT: [email protected]
What systems are affected by CVE-2025-3586?
CVE-2025-3586 affects Liferay Portal, Liferay Portal, Digital Experience Platform.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Liferay","product":"Portal","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-18.