CVE-2019-16891: Liferay Portal RCE Vulnerability via JSON Deserialization

Summary

24/05/2022
Yes i
Critical
9.8

CVE-2019-16891: Liferay Portal Allows RCE via Deserialization of a JSON Payload. Affects com.liferay.portal:release.portal.bom versions < 7.1.1. Fixed in 7.1.1. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Liferay Portal is an open-source enterprise portal framework that provides a platform for building web applications and managing content. It is widely used for its robust features, including user management, content management, and collaboration tools. However, versions 7.1.0 and earlier are vulnerable to a critical security flaw that allows remote command execution due to improper handling of JSON payloads.

Vulnerability Detail

The vulnerability arises from the deserialization of untrusted JSON data, which can be exploited by an attacker to execute arbitrary commands on the server. This can lead to unauthorized access, data breaches, and complete system compromise. The flaw is classified under CWE-502, indicating a risk associated with deserialization of untrusted data. The severity of this vulnerability is critical, with a CVSS score of 9.8, highlighting the potential impact on affected systems.

How To Fix

Latest published version: 7.4.3.132 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7.1.1

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

If immediate updating is not feasible, consider implementing strict input validation and sanitization for JSON payloads to mitigate the risk of deserialization attacks. Additionally, restrict access to the application to trusted users only.

Conclusion

The CVE-2019-16891 vulnerability poses a significant risk to Liferay Portal users, allowing remote command execution through JSON deserialization. It is crucial to update to the patched version to safeguard against potential attacks. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for com.liferay.portal:release.portal.bom →

Share this vulnerability

FAQ

CVE-2019-16891 is a critical vulnerability in Liferay Portal that allows remote command execution due to improper deserialization of JSON payloads.

Liferay Portal versions 7.1.0 and earlier are affected by this vulnerability.

Exploitation of this vulnerability can lead to unauthorized access, data breaches, and complete system compromise.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

It is recommended to update to Liferay Portal version 7.1.1 or later to mitigate the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for com.liferay.portal:release.portal.bom.

How To Fix

Latest published version: 7.4.3.132 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7.1.1

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