A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-3586

CVE-2025-3586: Liferay DXP RCE Vulnerability

CVE-2025-3586 is a remote code execution vulnerability in Liferay Digital Experience Platform that allows authenticated admin users to execute arbitrary Groovy scripts. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2025-3586 Overview

CVE-2025-3586 is an authorization weakness [CWE-863] in Liferay Portal and Liferay DXP that allows authenticated administrators to execute arbitrary Groovy scripts through the Objects module. The Objects module does not restrict the use of Groovy scripts in Object actions for Admin Users. Remote authenticated users holding the Instance Administrator role can leverage Object actions to achieve remote code execution on the underlying server. The flaw affects self-hosted and PaaS deployments, while Liferay SaaS instances are not impacted because Groovy execution is disabled by default in that tier.

Critical Impact

Authenticated administrators can execute arbitrary Groovy scripts on the host, achieving full remote code execution with the privileges of the Liferay application process.

Affected Products

  • Liferay Portal 7.4.3.27 through 7.4.3.42
  • Liferay DXP 2024.Q1.1 through 2024.Q1.20, 2023.Q4.0 through 2023.Q4.10, and 2023.Q3.1 through 2023.Q3.10
  • Liferay DXP 7.4 update 27 through update 42 (Liferay PaaS and Liferay Self-Hosted)

Discovery Timeline

  • 2025-09-01 - CVE-2025-3586 published to NVD
  • 2025-12-12 - Last updated in NVD database

Technical Details for CVE-2025-3586

Vulnerability Analysis

The Objects module in affected Liferay versions exposes Groovy scripting inside Object actions without enforcing a policy that restricts script execution for Instance Administrators. Groovy provides direct access to the underlying Java Virtual Machine, including file system, network, and process APIs. An attacker authenticated as an Instance Administrator can author or modify an Object action that invokes a Groovy script, then trigger that action to execute attacker-controlled code in the context of the Liferay server process.

This condition is classified as an Incorrect Authorization issue [CWE-863]. The functionality is intended for trusted operators, but the absence of a configurable allow-list or a deny-by-default control means any account granted Instance Administrator effectively obtains remote code execution. Liferay's SaaS tier disables Groovy in Object actions for this reason. Starting with Liferay DXP 2024.Q2, Instance Settings exposes a toggle that controls whether Groovy scripts are permitted.

Root Cause

The root cause is missing authorization and policy enforcement around a privileged scripting feature. The Objects module accepts and executes Groovy code from Object actions without gating it behind a separate, explicit administrative capability or a tenant-level configuration check.

Attack Vector

Exploitation requires network access to the Liferay administrative interface and valid credentials for an account holding the Instance Administrator role. The attacker creates or edits an Object action, supplies a Groovy payload that invokes Java runtime APIs, and triggers the action. The payload then executes inside the Liferay JVM, allowing command execution, file read or write, lateral movement, and credential theft from the application context.

No verified public proof-of-concept code is available. See the Liferay Security Advisory CVE-2025-3586 for vendor-supplied technical details.

Detection Methods for CVE-2025-3586

Indicators of Compromise

  • Creation or modification of Object actions that reference Groovy scripts, particularly by accounts that do not normally administer Objects.
  • Liferay application logs showing Groovy script compilation or execution events triggered from Object action workflows.
  • Outbound network connections, child process spawns, or file writes originating from the Liferay JVM process shortly after Object action changes.

Detection Strategies

  • Audit the Liferay database and configuration for Object actions whose action type is set to Groovy script, and review the script bodies for suspicious system calls such as Runtime.exec, ProcessBuilder, or new File(...).
  • Correlate administrative login events with subsequent Object action creation, edit, or trigger events to flag short-window privilege abuse patterns.
  • Monitor for unexpected child processes of the Liferay or Tomcat process, including shells, scripting interpreters, and reconnaissance binaries.

Monitoring Recommendations

  • Forward Liferay audit logs, application server logs, and host process telemetry to a centralized analytics platform for retention and correlation.
  • Alert on any change to Instance Administrator role membership and on configuration changes to the Groovy allow setting introduced in 2024.Q2 and later.
  • Baseline normal Object action usage per tenant so that new Groovy-based actions surface as deviations rather than routine activity.

How to Mitigate CVE-2025-3586

Immediate Actions Required

  • Upgrade affected Liferay Portal and Liferay DXP instances to a fixed release as documented in the Liferay Security Advisory CVE-2025-3586.
  • On Liferay DXP 2024.Q2 and later, set the Instance Settings option to disallow Groovy scripts unless a documented business need exists.
  • Review and reduce the number of accounts holding the Instance Administrator role, and enforce strong authentication including multi-factor authentication for those accounts.

Patch Information

Liferay has published guidance and fixed versions through the vendor advisory. Administrators should consult the Liferay Security Advisory CVE-2025-3586 for the specific Portal and DXP releases that address this issue and apply the corresponding update for their deployment tier.

Workarounds

  • Restrict access to the Liferay administrative interface using network controls, VPN, or IP allow-listing so that only trusted operators can reach the Objects module.
  • Remove existing Object actions that use Groovy scripts where they are not strictly required, and prohibit their creation through internal change-control policy.
  • Rotate administrative credentials and review audit logs for unauthorized Object action changes prior to applying the patch.
bash
# Configuration example: disable Groovy in Object actions (Liferay DXP 2024.Q2+)
# Navigate: Control Panel > Instance Settings > Objects
# Set the option that allows Groovy scripts in Object actions to: false
# Then restart the Liferay node to ensure the policy is enforced cluster-wide.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLiferay

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.54%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-863
  • Vendor Resources
  • Liferay Security Advisory CVE-2025-3586
  • Related CVEs
  • CVE-2025-43766: Liferay DXP RCE Vulnerability

  • CVE-2025-2565: Liferay DXP Information Disclosure Flaw

  • CVE-2025-3602: Liferay DXP GraphQL DoS Vulnerability

  • CVE-2025-4388: Liferay DXP Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English