What is wrong
Elasticsearch enables dynamic scripting. This allows remote attackers to execute arbitrary MVEL expressions and Java code.
Who is affected
This vulnerability affects Elasticsearch versions prior to 1.2.0.
What to do
Upgrade to Elasticsearch version 1.2.0 or apply updates per vendor instructions.
Original description
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.
Known exploited (CISA KEV)
- Added to KEV
- 2022-03-25
- Remediation due (US federal)
- 2022-04-15
- Ransomware use
- Unknown
- Required action
- Apply updates per vendor instructions.
Affected software
- Elasticsearch < 1.2.0 Fixed in: 1.2.0 exact match
Details
- Published
- 2014-07-29
- Last modified
- 2025-10-22
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N- EPSS (30-day exploit probability)
- 88.56% (percentile 100)
References
- cve.org/CVE-2014-3120
- nvd.nist.gov/vuln/detail/CVE-2014-3120
- www.elastic.co/blog/logstash-1-4-3-released
- www.exploit-db.com/exploits/33370
- www.securityfocus.com/bid/67731
- www.osvdb.org/106949
- bouk.co/blog/elasticsearch-rce/
- www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce
- www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elastic...
- www.elastic.co/community/security/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.