{"schemaVersion":3,"id":"CVE-2014-3120","aliases":["GHSA-mrfm-jxgf-2h6v"],"status":"published","duplicateOf":null,"title":"Elasticsearch Remote Code Execution Vulnerability","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.","dates":{"published":"2014-07-28T19:00:00.000Z","modified":"2025-10-22T00:05:37.084Z","reserved":null,"kevAdded":["2022-03-25T00:00:00.000Z"],"kevDue":["2022-04-15T00:00:00.000Z"]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:H","exploitability":7.2,"impact":8.7,"computed":true}]},"epss":{"probability":0.88559,"percentile":0.99775,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.88559},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.88559,"percentile":0.99775}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.88559,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.88559,"percentile":0.99775}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-03-25T00:00:00.000Z","dueDate":"2022-04-15T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Elasticsearch Remote Code Execution Vulnerability","description":"Elasticsearch enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2014-3120","label":"nvd.nist.gov/vuln/detail/CVE-2014-3120"}],"vendor":"Elastic","product":"Elasticsearch","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-03-25T00:00:00.000Z","dueDate":"2022-04-15T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Elasticsearch Remote Code Execution Vulnerability","description":"Elasticsearch enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2014-3120","label":"nvd.nist.gov/vuln/detail/CVE-2014-3120"}],"vendor":"Elastic","product":"Elasticsearch","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_05AA63FF36961233","name":"Exploit Reference (securityfocus.com)","source":"reference","url":"http://www.securityfocus.com/bid/67731","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_299A33941272BD5D","name":"Exploit Reference (bouk.co)","source":"reference","url":"http://bouk.co/blog/elasticsearch-rce/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_1938270FE7B0C670","name":"Exploit Reference (rapid7.com)","source":"reference","url":"http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_FDC46A95D21996D2","name":"Exploit Reference (found.no)","source":"reference","url":"https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"33588","name":"ElasticSearch Dynamic Script - Arbitrary Java Execution (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/33588","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["java"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"java","file":"exploits/java/remote/33588.rb","codes":["CVE-2014-3120","OSVDB-106949"]},"metasploit":null},{"id":"33370","name":"ElasticSearch - Remote Code Execution","source":"exploit-database","url":"https://www.exploit-db.com/exploits/33370","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["multiple"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"multiple","file":"exploits/multiple/webapps/33370.html","codes":["CVE-2014-3120","OSVDB-106949"]},"metasploit":null},{"id":"MSF_EXPLOIT_MULTI_ELASTICSEARCH_SCRIPT_MVEL_RCE","name":"ElasticSearch Dynamic Script Arbitrary Java Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/multi/elasticsearch/script_mvel_rce.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/multi/elasticsearch/script_mvel_rce","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":7,"weaknesses":[{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"elastic","product":"elasticsearch","name":"Elasticsearch","label":"elasticsearch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"elasticsearch","label":"Elasticsearch","category":"database"}},"hubHref":"/vendor/elastic/elasticsearch"},{"vendor":"org.elasticsearch","product":"elasticsearch","name":"org.elasticsearch:elasticsearch","label":"elasticsearch","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.elasticsearch/elasticsearch","purlType":"maven","versions":[{"text":"< 1.4.0.Beta1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.0.Beta1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.elastic.co/blog/logstash-1-4-3-released","label":"www.elastic.co/blog/logstash-1-4-3-released","hostname":"www.elastic.co","tags":["X Refsource CONFIRM","Vendor Advisory","WEB"]},{"url":"http://www.exploit-db.com/exploits/33370","label":"www.exploit-db.com/exploits/33370","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","WEB"]},{"url":"http://www.securityfocus.com/bid/67731","label":"www.securityfocus.com/bid/67731","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Exploit"]},{"url":"http://www.osvdb.org/106949","label":"www.osvdb.org/106949","hostname":"www.osvdb.org","tags":["VDB Entry","X Refsource OSVDB","Broken Link"]},{"url":"http://bouk.co/blog/elasticsearch-rce/","label":"bouk.co/blog/elasticsearch-rce/","hostname":"bouk.co","tags":["X Refsource MISC","Exploit"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce","label":"www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce","hostname":"www.rapid7.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","WEB"]},{"url":"https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch","label":"www.found.no/foundation/elasticsearch-security/","hostname":"www.found.no","tags":["X Refsource MISC","Exploit","WEB"]},{"url":"https://www.elastic.co/community/security/","label":"www.elastic.co/community/security/","hostname":"www.elastic.co","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3120","label":"nvd.nist.gov/vuln/detail/CVE-2014-3120","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/elastic/elasticsearch/issues/7151","label":"github.com/elastic/elasticsearch/issues/7151","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/elastic/elasticsearch/pull/7642","label":"github.com/elastic/elasticsearch/pull/7642","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/elastic/elasticsearch/commit/bd0eb32d9c3c3f5b6e5f8630c859cd04bdcd4e06","label":"github.com/elastic/elasticsearch/commit/bd0eb32d9c3c3f5b6e5f8630c859cd04bdcd4e06","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/elastic/elasticsearch/commit/f9de8b65898509e038e33215db0720b508477a12","label":"github.com/elastic/elasticsearch/commit/f9de8b65898509e038e33215db0720b508477a12","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/elastic/elasticsearch","label":"github.com/elastic/elasticsearch","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://web.archive.org/web/20140813071419/http://www.securityfocus.com/bid/67731","label":"web.archive.org/web/20140813071419/http://www.securityfocus.com/bid/67731","hostname":"web.archive.org","tags":["WEB"]},{"url":"https://www.elastic.co/community/security","label":"www.elastic.co/community/security","hostname":"www.elastic.co","tags":["WEB"]},{"url":"http://bouk.co/blog/elasticsearch-rce","label":"bouk.co/blog/elasticsearch-rce","hostname":"bouk.co","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2014-07-28T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2022-03-25T00:00:00.000Z","label":"Added to CISA KEV","detail":"Elasticsearch Remote Code Execution Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2022-04-15T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2025-10-22T00:05:37.084Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:58:16.950Z","stale":false,"partial":false}}