CVE-2014-3120Elasticsearch
Remote Code Execution in Elasticsearch via Dynamic Scripting
High 8.1 KEV High EPSS
- Priority
- 57
- CVSS 3.1
- 8.1
- EPSS
- 88.6% probability of exploitation in 30 days · percentile 100
- Auth required
- Yes
- In KEV since
- Mar 25, 2022
- CISA deadline
- Apr 15, 2022
- Ransomware use
- Unknown
- Published
- Jul 28, 2014
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
Elasticsearch before version 1.2 allows authenticated attackers to execute arbitrary Java code via MVEL expressions through the source parameter in _search. CISA confirmed this vulnerability as actively exploited. The flaw affects deployments not running in isolated virtual machines.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code via the source parameter to _search. NOTE: this only violates the vendor's intended security policy if the user does not run Elasticsearch in its own independent virtual machine.
Exploitation confirmed by CISA
Elasticsearch enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 1.2.0
Update Elasticsearch to version 1.2.0 or later, or disable dynamic scripting in the configuration.
Vendor advisory · www.elastic.co ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for Elasticsearch.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was April 15, 2022.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch |
< 1.4.0.Beta1 |
1.4.0.Beta1 |
— |
Per OSV / GitHub Advisories (GHSA-mrfm-jxgf-2h6v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| elastic | elasticsearch | < 1.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- bouk.co Exploit
- www.exploit-db.com Exploit
- www.osvdb.org Broken Link
- www.rapid7.com Exploit Third Party Advisory
- www.securityfocus.com Exploit
- www.elastic.co Vendor Advisory
- www.elastic.co Vendor Advisory
- www.found.no Exploit
- www.cisa.gov US Government Resource