CVE-2015-1427
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…
- 9.8CriticalCVSS base score
- 99.9%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 25 Mar 2022
- 4Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Elasticsearch Groovy Scripting Engine Remote Code Execution Vulnerability.
- Added
- 25 Mar 2022
- Fix due (US federal)
- 15 Apr 2022
- Used by ransomware
- Not known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 25 Mar 2022.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and 2 Exploit-DB entries for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits4
Metasploit modules1 module
- ElasticSearch Search Groovy Sandbox Bypass (Metasploit module) (opens in a new tab)
exploit/multi/elasticsearch/search_groovy_scriptRank excellentdisclosed 11 Feb 2015
Nuclei templates1 template
- ElasticSearch - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2015/CVE-2015-1427.yamlSeverity high
Exploit-DB2 entries
- ElasticSearch - Search Groovy Sandbox Bypass (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 36415remote, javapublished 16 Mar 2015Verified
- ElasticSearch - Remote Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 36337remote, linuxpublished 11 Mar 2015Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 17 days later
· 17 days later
Published
- 7 years later
· 7 years later
Added to CISA KEV
Known exploited in the wild
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 99.9% · top 0.1% of all CVEs (10 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.elasticsearch:elasticsearchGHSA-w94p-6mhw-4qxw (opens in a new tab)
References
9
- 20150211 Elasticsearch vulnerability CVE-2015-1427 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2017:0868 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 72585 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- elasticsearch-cve20151427-command-exec(100850) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- http://packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.elastic.co/community/security/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2015-1427 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-5539 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-w94p-6mhw-4qxw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2015-1427)Record last updated .