CVE-2014-3120: Elasticsearch Remote Code Execution
Elasticsearch · listed in the CISA catalog of actively exploited vulnerabilities since 2022-03-25.
- CVSS v3.1 (CISA ADP)
- 8.1
- high
- EPSS (exploit probability, 30 days)
- 89%
- higher than 99.7% of all CVEs
- Added to CISA KEV
- 2022-03-25
- US federal due date 2022-04-15
- Automatable (CISA SSVC)
- no
- technical impact: partial
CVE-2014-3120 explained
CVE-2014-3120 is a remote code execution vulnerability in Elastic Elasticsearch. According to the description, the default configuration in versions before 1.2 enables dynamic scripting, letting remote attackers run arbitrary MVEL expressions and Java code through the search interface. CISA lists it as known to be exploited, so unpatched or exposed clusters face real risk.
Impact
A remote attacker can execute arbitrary code on the Elasticsearch server over the network. Attack complexity is low, low privileges are listed as required, and no user interaction is needed. Confidentiality and integrity impact are high. CISA's SSVC rates it as not automatable with partial technical impact. Attackers are known to use this vulnerability. Ransomware use is unknown.
Who is affected
The description states that Elasticsearch before 1.2 is affected because dynamic scripting is enabled by default. The CVE record itself lists no structured affected versions. It names no fixed version either. Check the vendor advisory for the versions that contain the fix and for configuration guidance.
Written with AI from the data on this page and checked against it automatically.
Official 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.
CISA required action: Apply updates per vendor instructions.
CISA notes
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: elastic.co/blog/logstash-1-4-3-released
- CISA's deadline for US federal agencies: 2022-04-15 (passed) – a useful benchmark for everyone else, too.
What to do
- Identify all Elasticsearch instances and their versions, focusing on releases older than
1.2. - Apply updates per vendor instructions, as CISA's required action states.
- Disable dynamic scripting where it is enabled, following the vendor advisory.
- Restrict network access to Elasticsearch so it is not reachable from the internet or untrusted networks.
- Check servers for signs of compromise, such as unexpected processes, files or search requests.
The CVE record names no fixed version. Follow the vendor advisory and CISA's required action to apply updates per vendor instructions. Until updated, disable dynamic scripting if enabled, block untrusted network access to Elasticsearch, and monitor for signs of compromise.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Partial – limited control or information
Weakness: CWE-284 Improper Access Control
Questions about CVE-2014-3120
- Is CVE-2014-3120 being exploited?
- Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-03-25, with a US federal due date of 2022-04-15. Whether it has been used in ransomware campaigns is unknown.
- Which Elasticsearch versions are affected?
- The description says Elasticsearch before
1.2is affected because dynamic scripting is enabled by default. The CVE record lists no structured affected or fixed versions, so consult the vendor advisory. - What does an attacker gain?
- An attacker can execute arbitrary MVEL expressions and Java code on the server remotely, with high impact to confidentiality and integrity of the affected system.
Written with AI from the data on this page and checked against it automatically.
References
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.