← Vulnerability feed

Vulnerability record · CVE-2020-13942 · published 24 November 2020

CVE-2020-13942: Apache Unomi OGNL/MVEL injection via public /context.json endpoint

Apache · Unomi

Apache Unomi fails to properly filter OGNL and MVEL expressions submitted to the public /context.json endpoint, allowing script injection. A partial fix in 1.5.1 was bypassed by a new attack vector, and scripts are only completely filtered in 1.5.2. Because the endpoint is public and the flaw is unauthenticated, it is a serious remote code execution risk for exposed Unomi instances.

9.8 CVSS 3.1 Critical EPSS 68% · top 0.7% CWE-20 · Improper input validationCWE-74 · Injection
9.8CVSS 3.1 base score, v2 7.5
68%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
18References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint. This was partially fixed in 1.5.1 but a new attack vector was found. In Apache Unomi version 1.5.2 scripts are now completely filtered from the input. It is highly recommended to upgrade to the latest available version of the 1.5.x release to fix this problem.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

critical priorityCVSS 9.8 with network-only, unauthenticated access, public exploit material and a very high EPSS score make this an urgent patch target.

What it is

Apache Unomi fails to properly filter OGNL and MVEL expressions submitted to the public /context.json endpoint, allowing script injection. A partial fix in 1.5.1 was bypassed by a new attack vector, and scripts are only completely filtered in 1.5.2. Because the endpoint is public and the flaw is unauthenticated, it is a serious remote code execution risk for exposed Unomi instances.

Impact

An attacker can inject and execute OGNL or MVEL scripts, leading to arbitrary code execution on the Unomi server with the privileges of the application. This gives full compromise of confidentiality, integrity and availability of the host and its data.

Attack surface

Reached over the network through the public /context.json HTTP endpoint with no authentication and no user interaction required, per the CVSS vector AV:N/AC:L/PR:N/UI:N. Any internet- or network-exposed Unomi instance running an affected 1.5.x version is reachable.

Exploitation

Not listed in CISA KEV, but EPSS is very high at 0.684 (99.3rd percentile) and a third-party advisory is tagged as containing an exploit, indicating public exploit material exists. No ransomware group usage is documented.

What to do

  • Upgrade Apache Unomi to 1.5.2 or the latest available 1.5.x release, which completely filters scripts from input.
  • If immediate upgrade is not possible, restrict network access to /context.json so only trusted clients can reach it.
  • Place Unomi behind a reverse proxy or WAF and block requests containing OGNL/MVEL expression patterns to the context endpoint.
  • Audit for prior compromise and rotate any credentials or secrets stored on or reachable from the Unomi host.
  • Monitor vendor and Apache mailing list advisories for further 1.5.x fixes.

Detection

  • Inspect HTTP access logs for POST requests to /context.json with OGNL or MVEL syntax in the body, such as expression delimiters and Java class references.
  • Alert on unexpected outbound connections or child processes spawned by the Unomi Java process.
  • Monitor for unusual file writes or new files in the Unomi application directories.
  • Correlate repeated /context.json requests from single source IPs with anomalous payload sizes or encoding.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://unomi.apache.org./security/cve-2020-13942.txt Mailing ListVendor Advisory
http://www.openwall.com/lists/oss-security/2020/11/24/5 Mailing ListThird Party Advisory
https://advisory.checkmarx.net/advisory/CX-2020-4284 ExploitThird Party Advisory
https://lists.apache.org/thread.html/r08a4057ff7196b8880117edaa4b6207cbd36ed692d8dd1f5a56b4d0f%40%3Cannounce.apache.org%
https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cdev.unomi.apache.org
https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cusers.unomi.apache.o
https://lists.apache.org/thread.html/r79672c25e0ef9bb4b9148376281200a8e61c6d5ef5bb705e9a363460%40%3Ccommits.unomi.apache
https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cdev.unomi.apache.org
https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cusers.unomi.apache.o
http://unomi.apache.org./security/cve-2020-13942.txt Mailing ListVendor Advisory
http://www.openwall.com/lists/oss-security/2020/11/24/5 Mailing ListThird Party Advisory
https://advisory.checkmarx.net/advisory/CX-2020-4284 ExploitThird Party Advisory
https://lists.apache.org/thread.html/r08a4057ff7196b8880117edaa4b6207cbd36ed692d8dd1f5a56b4d0f%40%3Cannounce.apache.org%
https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cdev.unomi.apache.org
https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cusers.unomi.apache.o
https://lists.apache.org/thread.html/r79672c25e0ef9bb4b9148376281200a8e61c6d5ef5bb705e9a363460%40%3Ccommits.unomi.apache
https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cdev.unomi.apache.org
https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cusers.unomi.apache.o

Track CVE-2020-13942 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-11975Apache unomi vulnerabilityApache Unomi allows conditions to use OGNL scripting which offers the possibility to call static Java classes from the JDK that could execute code wi…EPSS 30%7.5CVE-2021-31164Apache unomi injection vulnerabilityApache Unomi prior to version 1.5.5 allows CRLF log injection because of the lack of escaping in the log statements.EPSS 2.3%9.5CVE-2026-93952Arista velocloud orchestrator improper input validation vulnerabilityVeloCloud Orchestrator (VCO) on-prem has a security issue where this issue may allow a remote attacker to access privileged internal functionality an…KEVEPSS 0.90%8.8CVE-2019-1068Microsoft SQL Server improper input validation remote code executionMicrosoft SQL Server mishandles processing of internal functions, allowing an authenticated remote attacker to execute code on the database server. T…KEVEPSS 58%analysed5.9CVE-2025-68686FortiOS symbolic link patch bypass exposes sensitive informationFortiOS contains an information exposure flaw (CWE-200) that lets a remote unauthenticated attacker bypass the patch for the symbolic link persistenc…KEVEPSS 30%analysed9.3CVE-2026-12569PTC Windchill PDMlink and FlexPLM deserialization RCEPTC Windchill PDMlink and FlexPLM contain a deserialization of untrusted data flaw (also classified as improper input validation) that allows remote …KEVEPSS 46%analysed10.0CVE-2026-34910Ubiquiti UniFi OS input validation flaw allows command injectionUniFi OS devices contain an improper input validation vulnerability (CWE-20) that lets a network-reachable attacker inject and execute commands. It a…KEVEPSS 46%analysed7.2CVE-2026-6973Ivanti EPMM improper input validation enables remote code executionIvanti Endpoint Manager Mobile (EPMM) before versions 12.6.1.1, 12.7.0.1, and 12.8.0.1 contains an improper input validation flaw (CWE-20) that lets …KEVEPSS 2.5%analysed

Source: NIST National Vulnerability Database (record CVE-2020-13942), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.