VYPR
Critical severityNVD Advisory· Published Nov 24, 2020· Updated Feb 13, 2025

Remote Code Execution in Apache Unomi

CVE-2020-13942

Description

Apache Unomi prior to 1.5.2 allows remote code execution via OGNL or MVEL script injection in the /context.json endpoint.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Apache Unomi prior to 1.5.2 allows remote code execution via OGNL or MVEL script injection in the /context.json endpoint.

Vulnerability

Overview

CVE-2020-13942 is a critical remote code execution vulnerability in Apache Unomi, a Java-based customer data platform. The vulnerability resides in the /context.json public endpoint, which processes user-supplied OGNL (Object-Graph Navigation Language) and MVEL (MVFLEX Expression Language) scripts without adequate sanitization. Prior to version 1.5.1, an initial fix was attempted but was incomplete, allowing attackers to bypass the filter using alternative injection vectors. The flaw was fully mitigated in version 1.5.2 by completely filtering all script expressions from the input [1][2][3].

Attack

Vector and Exploitation

The /context.json endpoint accepts JSON payloads containing conditions that may reference OGNL or MVEL scripting. By crafting malicious payloads, an unauthenticated attacker can inject arbitrary script expressions that are evaluated server-side. No authentication is required, and the endpoint is publicly accessible, making the attack surface broad. The vulnerability was discovered and reported by Eugene Rojavski of Checkmarx [3][4].

Impact

Successful exploitation allows an attacker to execute arbitrary code with the permissions of the Java process running Apache Unomi. This can lead to full compromise of the affected system, including data exfiltration, installation of malware, or lateral movement within the network [1][3].

Mitigation

All versions of Apache Unomi prior to 1.5.2 are vulnerable. Users must upgrade to version 1.5.2 or later, which completely filters OGNL and MVEL expressions from the input. No workarounds are available; the only effective remediation is upgrading [2][3].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.apache.unomi:unomiMaven
< 1.5.21.5.2

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

17

News mentions

0

No linked articles in our index yet.