CVE-2015-1427
Improper Access Control in Elasticsearch
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2015-1427- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List
9.8
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.
- Record
CVE-2015-1427- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
EUVDEUVD-2022-5539
9.8
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.
- Record
EUVD-2022-5539- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-w94p-6mhw-4qxw No score
Improper Access Control in Elasticsearch
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.
- Record
GHSA-w94p-6mhw-4qxw- Weakness
- CWE-284
- Updated
- 2026-11-02
CISA KEV No score
Elasticsearch Groovy Scripting Engine Remote Code Execution Vulnerability
The Groovy scripting engine in Elasticsearch allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands.
- Record
CVE-2015-1427- Weakness
- CWE-284
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-1427
9.8
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.
- Record
UBUNTU-CVE-2015-1427- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-w94p-6mhw-4qxw No score
Improper Access Control in Elasticsearch
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.
- Record
GHSA-w94p-6mhw-4qxw- Weakness
- CWE-284
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.elasticsearch:elasticsearchMaven |
through 1.3.7 | 1.3.8 |
org.elasticsearch:elasticsearchMaven |
1.4.0 to 1.4.2 | 1.4.3 |
org.elasticsearch:elasticsearchMaven |
before 1.3.8, plus listed versions 0.10.00.11.00.12.00.12.10.13.0 Show 45 moreShow less0.13.10.14.00.14.10.14.20.14.30.14.40.15.00.15.10.15.20.16.00.16.10.16.20.16.30.16.40.16.50.17.00.17.10.17.100.17.20.17.30.17.40.17.50.17.60.17.70.17.80.17.90.18.00.18.10.18.20.18.30.18.40.18.50.18.60.18.70.19.00.19.0.RC10.19.0.RC20.19.0.RC30.19.10.19.100.19.110.19.120.19.20.19.30.19.4 |
1.3.8 |
org.elasticsearch:elasticsearchMaven |
1.4.0 up to 1.4.3, plus listed versions 1.4.11.4.2 |
1.4.3 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Metasploit | ElasticSearch Search Groovy Sandbox Bypass | 2015-02-11 |
| Exploit-DB | ElasticSearch - Remote Code Execution | 2015-03-11 |
| Exploit-DB | ElasticSearch - Search Groovy Sandbox Bypass (Metasploit) | 2015-03-16 |
| PoC in GitHub | t0kx/exploit-CVE-2015-1427 | 2017-01-09 |
| PoC in GitHub | cved-sources/cve-2015-1427 | 2019-01-06 |
| PoC in GitHub | cyberharsh/Groovy-scripting-engine-CVE-2015-1427 | 2020-06-22 |
| PoC in GitHub | xpgdgit/CVE-2015-1427 | 2022-07-29 |
| PoC in GitHub | Sebikea/CVE-2015-1427-for-trixie | 2024-11-10 |
| PoC in GitHub | CyberCTF/vulhub-elasticsearch-cve-2015-1427 | 2026-10-08 |
| Nuclei | ElasticSearch - Remote Code Execution |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploitation, exploits | ||
| affected, exploits | ||
| first indexed | CVE List, EUVD, Exploit-DB, GitHub Advisories, CISA KEV, Metasploit, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-1427 is a critical vulnerability (CVSS 9.8) in Elastic Elasticsearch, published February 17, 2015. CISA lists it as known to be exploited, since March 25, 2022. EUVD reports exploitation since March 25, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 99.9%, the 99th percentile. Fixed in org.elasticsearch:elasticsearch 1.3.8.
References
securityfocus.com/archive/1/534689/100/0/threaded
packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html
access.redhat.com/errata/RHSA-2017:0868
securityfocus.com/bid/72585
elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released
exchange.xforce.ibmcloud.com/vulnerabilities/100850
Show 10 moreShow less
packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html
elastic.co/community/security
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2015-1427
nvd.nist.gov/vuln/detail/CVE-2015-1427
github.com/advisories/GHSA-w94p-6mhw-4qxw
ubuntu.com/security/CVE-2015-1427
seclists.org/bugtraq/2015/Feb/92
xforce.iss.net/xforce/xfdb/100850
cve.org/CVERecord?id=CVE-2015-1427
cisa.gov/known-exploited-vulnerabilities-catalog
Left out here: 59 versions. The JSON record has them.