Broken access controlin Elasticsearch.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 25 Mar 2022.
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: Elasticsearch enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code.
- Upgrade org.elasticsearch:elasticsearch (Maven) to 1.4.0.Beta1 or later.
- CISA requires US federal agencies to fix it by 15 Apr 2022.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 9 Dec 2013Metasploit module: ElasticSearch Dynamic Script Arbitrary Java Execution.
- 29 Apr 2014CVE ID reserved by mitre.
- 13 May 2014First public proof of concept on GitHub.
- 28 Jul 2014Published in the CVE List.
- 25 Mar 2022Added to CISA's Known Exploited Vulnerabilities list.
- 22 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Elasticsearch vulnerabilities
Same weakness: Improper access control
- www.elastic.co x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.osvdb.org vdb-entry, x_refsource_OSVDB
- bouk.co x_refsource_MISC
- www.rapid7.com x_refsource_MISC
- www.found.no x_refsource_MISC
- www.elastic.co x_refsource_CONFIRM
- www.cisa.gov government-resource
Patchminder. CVE-2014-3120: Broken access control in Elasticsearch. https://patchminder.com/cve/cve-2014-3120/ (accessed 5 December 2026).