Remote Code Execution Vulnerability in Liferay Object Service Package

Summary

12/12/2025
HIGH
Yes i
High
7.2

GHSA-m5gv-vj3f-6v2p: Liferay Portal and DXP Instance Admin can execute code using Objects Actions and Validations. Affects com.liferay:com.liferay.object.service versions < 1.0.96. Fixed in 1.0.96. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Liferay Object Service package, part of the Liferay Portal and DXP ecosystem, provides functionalities for managing and manipulating objects within the platform. It allows administrators to create, manage, and execute actions on various data objects. However, certain versions of this package are vulnerable to a security flaw that permits unauthorized execution of Groovy scripts by admin users, potentially leading to severe security breaches.

Vulnerability Detail

In Liferay Portal versions 7.4.3.27 to 7.4.3.42 and Liferay DXP versions 2024.Q1.1 to 2024.Q1.20, as well as earlier versions, the Objects module fails to restrict the execution of Groovy scripts in Object actions for users with the Instance Administrator role. This oversight allows remote authenticated admin users to execute arbitrary Groovy scripts, leading to remote code execution (RCE). The vulnerability arises from inadequate access controls and poses significant risks, including unauthorized data manipulation and system compromise.

How To Fix

Minimum fixed version

1.0.96

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, administrators can disable the use of Groovy scripts in Object actions until the package is updated. This can be done by reviewing the instance settings and ensuring that Groovy script execution is restricted for admin users.

Conclusion

The vulnerability in the Liferay Object Service package poses significant risks due to the potential for remote code execution by admin users. It is crucial for affected users to update to the patched version to mitigate these risks and ensure the security of their applications.

See every vulnerability recorded for com.liferay:com.liferay.object.service →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.2, indicating a high severity level.

Liferay Portal versions 7.4.3.27 to 7.4.3.42 and Liferay DXP versions 2024.Q1.1 to 2024.Q1.20 are affected.

If exploited, an attacker could execute arbitrary Groovy scripts, leading to unauthorized access, data manipulation, or complete system compromise.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Vulert monitors and alerts for open-source vulnerabilities in your software using just the pom.xml file, providing real-time insights into potential security issues.

Related vulnerabilities

Recent vulnerabilities recorded for com.liferay:com.liferay.object.service.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.0.96

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback