CVE-2014-3120: Elasticsearch Remote Code Execution Vulnerability
CVE-2014-3120 is a high-severity flaw (CVSS 8.1) affecting elasticsearch, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 88.6% (top 1%) |
| CISA exploited list | Yes, fix due 2022-04-15 |
| Weakness | CWE-284 |
| Published | 2014-07-28 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: echohtp/ElasticSearch-CVE-2014-3120 (6 stars)
- GitHub PoC: jeffgeiger/es_inject (0 stars)
- GitHub PoC: xpgdgit/CVE-2014-3120 (0 stars)
- Write-up: www.elastic.co/blog/logstash-1-4-3-released
- Exploit-DB: Elasticsearch < 1.2.0 - Arbitrary Java Execution (Metasploit)
- Exploit-DB: ElasticSearch - Remote Code Execution (RCE) (1)
- Metasploit: ElasticSearch Dynamic Script Arbitrary Java Execution
- Nuclei scan template: ElasticSearch v1.1.1/1.2 RCE
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2014-3120?
elasticsearch: upgrade to 1.2.0. Exact commands for each OS are on this page.
Is CVE-2014-3120 being exploited?
Yes. CVE-2014-3120 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2014-3120 affect?
CVE-2014-3120 affects elasticsearch. Severity is high (CVSS 8.1). 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 i
How urgent is CVE-2014-3120?
Priority 83/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference
Software pages
Java vulnerabilities · Elasticsearch vulnerabilities
Related CVEs
- CVE-2026-56148 MEDIUM 6.5 UPGRADE Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to a denial of service via Excessive Allocation (CA
- CVE-2026-49090 MEDIUM 6.5 UPGRADE Uncontrolled Resource Consumption (CWE-400) in Elasticsearch can lead to a denial of service via Excessive All
- CVE-2026-56149 MEDIUM 4.9 UPGRADE Allocation of Resources Without Limits or Throttling (CWE-770) in Elasticsearch can lead to a denial of servic
- CVE-2026-56145 MEDIUM 6.5 UPGRADE Uncontrolled Resource Consumption (CWE-400) in Elasticsearch can lead to denial of service via Excessive Alloc
- CVE-2026-63136 MEDIUM 6.5 UPGRADE Uncontrolled Resource Consumption (CWE-400) in Elasticsearch can lead to denial of service via Excessive Alloc