{"id":"CVE-2015-1427","published":"2015-02-17T15:59:04Z","modified":"2026-06-17T00:22:24Z","title":"Elasticsearch Groovy Scripting Engine Remote Code Execution Vulnerability","vendor":"Elastic","product":"Elasticsearch","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"The Groovy scripting engine in Elasticsearch, in versions before 1.3.8 and 1.4.x before 1.4.3, contains a flaw that allows the sandbox protection mechanism to be bypassed. A remote attacker with network access can exploit it without authentication or user interaction, using a crafted script to execute arbitrary shell commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:09:45Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99906,"percentile":0.99966,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2015-1427","provenance":"source"},"vulncheckKev":{"dateAdded":"2019-04-09","exploitedFirstSeen":"2019-04-09","ransomware":true,"evidence":[{"url":"https://www.f5.com/labs/articles/threat-intelligence/vulnerabilities-exploits-and-malware-driving-attack-campaigns-march-2019","date":"2019-04-09"},{"url":"https://www.fortinet.com/blog/threat-research/closer-look-satan-ransomwares-propagation-technics","date":"2019-05-20"},{"url":"https://cyware.com/news/satan-ransomware-an-overview-of-the-ransomwares-variants-and-exploits-35acecd3","date":"2019-06-15"},{"url":"https://www.trendmicro.com/en_us/research/19/g/multistage-attack-delivers-billgates-setag-backdoor-can-turn-elasticsearch-databases-into-ddos-botnet-zombies.html","date":"2019-07-23"},{"url":"https://digital.nhs.uk/cyber-alerts/2019/cc-3164","date":"2019-07-25"},{"url":"https://www.f5.com/labs/articles/threat-intelligence/vulnerabilities--exploits--and-malware-driving-attack-campaigns-in-july-2019","date":"2019-08-28"},{"url":"https://web.archive.org/web/20220227045141/https://risksense.com/wp-content/uploads/2019/09/RiskSense-Spotlight-Report-Ransomware.pdf","date":"2019-09-01"},{"url":"https://www.f5.com/labs/articles/threat-intelligence/vulnerabilities--exploits--and-malware-driving-attack-campaigns-in-december-2019","date":"2020-01-31"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2022-03-25"},{"url":"https://www.ivanti.com/resources/v/doc/pr-survey-report/ransomware-quarterly-indexreport_q2-q3","date":"2022-10-21"}],"evidenceTotal":802,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"http://packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released/","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/534689/100/0/threaded","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/72585","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0868","tags":["Third Party Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/100850","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://www.elastic.co/community/security/","tags":["Not Applicable","Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released/","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/534689/100/0/threaded","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/72585","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0868","tags":["Third Party Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/100850","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://www.elastic.co/community/security/","tags":["Not Applicable","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2015-1427","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: remote unauthenticated exploit against exposed Elasticsearch service","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"allows remote attackers to bypass the sandbox protection mechanism","start":81,"end":147}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: crafted script yields arbitrary shell command execution","mappingType":"primary_impact","evidence":[{"from":"description","quote":"execute arbitrary shell commands via a crafted script","start":152,"end":205}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","vulnerableRanges":["<1.3.8",">=1.4.0, <1.4.3"],"patched":["1.3.8","1.4.3"],"from":["GHSA-w94p-6mhw-4qxw"],"provenance":"source"}],"advisories":[{"id":"GHSA-w94p-6mhw-4qxw","url":"https://github.com/advisories/GHSA-w94p-6mhw-4qxw","severity":"HIGH","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","vulnerableRanges":["<1.3.8"],"patched":["1.3.8"],"provenance":"source","from":"GHSA"},{"id":"GHSA-w94p-6mhw-4qxw","url":"https://github.com/advisories/GHSA-w94p-6mhw-4qxw","severity":"HIGH","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","vulnerableRanges":[">=1.4.0, <1.4.3"],"patched":["1.4.3"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-5539","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-5539","exploited":true,"exploitedSince":"2022-03-25","provenance":"source"},"exploits":[{"id":36337,"url":"https://www.exploit-db.com/exploits/36337","title":"ElasticSearch - Remote Code Execution","type":"remote","platform":"linux","date":"2015-03-11","verified":true,"provenance":"source"},{"id":36415,"url":"https://www.exploit-db.com/exploits/36415","title":"ElasticSearch - Search Groovy Sandbox Bypass (Metasploit)","type":"remote","platform":"java","date":"2015-03-16","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2015-03-11"},"pocGithub":{"count":4,"skipped":2,"earliest":"2017-01-09","earliestUrl":"https://github.com/t0kx/exploit-CVE-2015-1427","repos":[{"name":"t0kx/exploit-CVE-2015-1427","url":"https://github.com/t0kx/exploit-CVE-2015-1427","stars":32,"created":"2017-01-09"},{"name":"cved-sources/cve-2015-1427","url":"https://github.com/cved-sources/cve-2015-1427","stars":0,"created":"2019-01-06"},{"name":"Sebikea/CVE-2015-1427-for-trixie","url":"https://github.com/Sebikea/CVE-2015-1427-for-trixie","stars":0,"created":"2024-11-10"},{"name":"CyberCTF/vulhub-elasticsearch-cve-2015-1427","url":"https://github.com/CyberCTF/vulhub-elasticsearch-cve-2015-1427","stars":0,"created":"2026-10-08"}]},"metasploit":[{"name":"ElasticSearch Search Groovy Sandbox Bypass","module":"exploit/multi/elasticsearch/search_groovy_script","type":"exploit","disclosureDate":"2015-02-11","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/elasticsearch/search_groovy_script.rb"}],"nuclei":[{"id":"CVE-2015-1427","name":"ElasticSearch - Remote Code Execution","severity":"high","path":"http/cves/2015/CVE-2015-1427.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2015/CVE-2015-1427.yaml"}],"first":{"date":"2015-02-11","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/elasticsearch/search_groovy_script.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html","http://packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"}],"timeline":[{"date":"2015-02-11","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2015-03-11, PoC-in-GitHub 2017-01-09","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/elasticsearch/search_groovy_script.rb","provenance":"source"},{"date":"2015-02-17","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1427","provenance":"source"},{"date":"2019-04-09","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.f5.com/labs/articles/threat-intelligence/vulnerabilities-exploits-and-malware-driving-attack-campaigns-march-2019","provenance":"source"},{"date":"2022-03-25","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2022-03-25","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-5539","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":2593},"priority":{"score":79.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 2762 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.99,"detail":"percentile 0.9997"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 2 Exploit-DB entries; 1 NVD exploit link; 4 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2014-3120","published":"2014-07-28","fixed":"1.4.0.Beta1","kev":true},{"cve":"CVE-2014-6439","published":"2014-10-10","fixed":"1.4.0.Beta1","kev":false},{"cve":"CVE-2015-1427","published":"2015-02-17","fixed":"1.4.3","kev":true},{"cve":"CVE-2015-3337","published":"2015-05-01","fixed":"1.5.2","kev":false,"link":{"from":"CVE-2015-1427","to":"CVE-2015-3337","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.elasticsearch:elasticsearch","fromFixed":"1.4.3","toFixed":"1.4.5","daysApart":73}]}},{"cve":"CVE-2015-4165","published":"2017-08-09","fixed":"1.6.0","kev":false},{"cve":"CVE-2015-5531","published":"2015-08-17","fixed":"1.6.1","kev":false}],"package":"Maven:org.elasticsearch:elasticsearch"}}