# CVE-2015-1427: Improper Access Control in Elasticsearch

Source: https://junglewise.ai/threats/cve-2015-1427-elasticsearch-groovy-scripting-engine-remote-code-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-14. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-2015-1427 · Severity: critical · CVSS 9.8 · Exploited in the wild · Published 2022-05-14

The Groovy scripting engine in Elasticsearch allows remote attackers to bypass sandbox protection mechanisms and execute arbitrary shell commands via crafted scripts. This vulnerability stems from insufficient restriction of the Groovy environment, enabling unauthenticated remote code execution.

Technologies: [Elasticsearch](https://junglewise.ai/threats/technologies/elasticsearch), [org.elasticsearch:elasticsearch (Maven)](https://junglewise.ai/threats/technologies/org-elasticsearch-elasticsearch). Vendors: [Elastic](https://junglewise.ai/threats/vendors/elastic), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2015-1427 exploited in the wild?** Yes. CVE-2015-1427 is known to be exploited in the wild, first recorded on 25 March 2022. Treat it as urgent.

**How severe is CVE-2015-1427?** Critical severity, with a CVSS score of 9.8, published 14 May 2022.

**Which products and versions are affected?** org.elasticsearch:elasticsearch (Maven) ECOSYSTEM:introduced=0,fixed=1.3.8.

**Is there a fix for CVE-2015-1427?** Yes. org.elasticsearch:elasticsearch (Maven): upgrade to 1.3.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2015-1427 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2015-1427?** Check whether you run Elasticsearch or org.elasticsearch:elasticsearch (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.elasticsearch:elasticsearch (Maven): upgrade to 1.3.8 or later

  ```sh
  # set org.elasticsearch:elasticsearch to 1.3.8 in your pom.xml or build.gradle
  ```


## Affected products

- Elasticsearch Elasticsearch before 1.3.8, 1.4.x before 1.4.3

## Identifiers

- CVE-2015-1427
- GHSA-w94p-6mhw-4qxw

## Timeline

- 2015-02-11: advisory: Vendor release of Elasticsearch 1.4.3 and 1.3.8 addressing the issue
- 2022-03-25: kev added: Added to CISA Known Exploited Vulnerabilities Catalog
- 2022-03-25: disclosed: NVD publication date

## Related threats

- [Elasticsearch denial of service in phonetic analysis encoders](https://junglewise.ai/threats/cve-2026-115715-allocation-of-resources-without-limits-or-throttling-cwe-770-in)
- [Elasticsearch cache information disclosure via field-level security bypass](https://junglewise.ai/threats/cve-2026-115710-use-of-cache-containing-sensitive-information-cwe-524-in)
- [Elasticsearch incorrect authorization in field-level security](https://junglewise.ai/threats/cve-2026-115298-incorrect-authorization-cwe-863-in-elasticsearch-can-lead-to)
- [Elasticsearch uncontrolled recursion denial of service](https://junglewise.ai/threats/cve-2026-115290-uncontrolled-recursion-cwe-674-in-elasticsearch-can-lead-to)
- [Elasticsearch authorization bypass in cross-cluster search](https://junglewise.ai/threats/cve-2026-103009-authorization-bypass-through-user-controlled-key-cwe-639-in)
