{"schemaVersion":3,"id":"CVE-2015-1427","aliases":["UBUNTU-CVE-2015-1427","GHSA-w94p-6mhw-4qxw"],"status":"published","duplicateOf":null,"title":"Elasticsearch Groovy Scripting Engine Remote Code Execution Vulnerability","description":"The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands via a crafted script.","dates":{"published":"2015-02-17T15:00:00.000Z","modified":"2025-10-22T00:05:33.236Z","reserved":null,"kevAdded":["2022-03-25T00:00:00.000Z"],"kevDue":["2022-04-15T00:00:00.000Z"]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.99906,"percentile":0.99966,"severity":"critical","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.99906},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99906,"percentile":0.99966}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99906,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99906,"percentile":0.99966}]},"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 Groovy Scripting Engine Remote Code Execution Vulnerability","description":"The Groovy scripting engine in Elasticsearch allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2015-1427","label":"nvd.nist.gov/vuln/detail/CVE-2015-1427"}],"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 Groovy Scripting Engine Remote Code Execution Vulnerability","description":"The Groovy scripting engine in Elasticsearch allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2015-1427","label":"nvd.nist.gov/vuln/detail/CVE-2015-1427"}],"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_BD172359890175B6","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"36415","name":"ElasticSearch - Search Groovy Sandbox Bypass (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/36415","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["java"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"java","file":"exploits/java/remote/36415.rb","codes":["CVE-2015-1427","OSVDB-118239"]},"metasploit":null},{"id":"36337","name":"ElasticSearch - Remote Code Execution","source":"exploit-database","url":"https://www.exploit-db.com/exploits/36337","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"linux","file":"exploits/linux/remote/36337.py","codes":["CVE-2015-1427","OSVDB-118239"]},"metasploit":null},{"id":"MSF_EXPLOIT_MULTI_ELASTICSEARCH_SEARCH_GROOVY_SCRIPT","name":"ElasticSearch Search Groovy Sandbox Bypass","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/multi/elasticsearch/search_groovy_script.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/multi/elasticsearch/search_groovy_script","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":4,"weaknesses":[],"affected":[{"vendor":"ubuntu","product":"elasticsearch","name":"elasticsearch","label":"elasticsearch","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/elasticsearch","purlType":"deb","versions":[{"text":"< 1.7.3+dfsg-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.3+dfsg-3","eol":null,"hubHref":null},{"vendor":"elastic","product":"elasticsearch","name":"Elasticsearch","label":"elasticsearch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.4.0, < 1.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.8 | ≥ 1.4.0, < 1.4.3","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.3.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.4.0, < 1.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.8 | ≥ 1.4.0, < 1.4.3","eol":null,"hubHref":null},{"vendor":"redhat","product":"fuse","name":"fuse","label":"fuse","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0.0","eol":null,"hubHref":"/vendor/redhat/fuse"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securityfocus.com/archive/1/534689/100/0/threaded","label":"www.securityfocus.com/archive/1/534689/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ","Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0868","label":"access.redhat.com/errata/RHSA-2017:0868","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory","WEB"]},{"url":"http://www.securityfocus.com/bid/72585","label":"www.securityfocus.com/bid/72585","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Broken Link","Third Party Advisory"]},{"url":"http://www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released/","label":"www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released/","hostname":"www.elasticsearch.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","REPORT"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/100850","label":"exchange.xforce.ibmcloud.com/vulnerabilities/100850","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF","Third Party Advisory","WEB"]},{"url":"http://packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html","label":"packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Third Party Advisory","VDB Entry","REPORT","WEB"]},{"url":"https://www.elastic.co/community/security/","label":"www.elastic.co/community/security/","hostname":"www.elastic.co","tags":["X Refsource CONFIRM","Not Applicable","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2015-1427","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2015-1427","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]},{"url":"https://ubuntu.com/security/CVE-2015-1427","label":"ubuntu.com/security/CVE-2015-1427","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://seclists.org/bugtraq/2015/Feb/92","label":"seclists.org/bugtraq/2015/Feb/92","hostname":"seclists.org","tags":["REPORT"]},{"url":"http://xforce.iss.net/xforce/xfdb/100850","label":"xforce.iss.net/xforce/xfdb/100850","hostname":"xforce.iss.net","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-1427","label":"www.cve.org/CVERecord?id=CVE-2015-1427","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog","hostname":"www.cisa.gov","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1427","label":"nvd.nist.gov/vuln/detail/CVE-2015-1427","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://www.elastic.co/community/security","label":"www.elastic.co/community/security","hostname":"www.elastic.co","tags":["WEB"]},{"url":"http://www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released","label":"www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released","hostname":"www.elasticsearch.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2015-02-17T15: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 Groovy Scripting Engine 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:33.236Z","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-19T05:25:01.919Z","stale":false,"partial":false}}