# CVE-2014-3120: Elasticsearch Improper Access Control vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Yes: in CISA KEV since 2022-03-25; federal due date 2022-04-15
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 88.56% (percentile 100, 2026-11-26)
- **CWE:** CWE-284
- **Aliases:** EDB-33370, EDB-33588, GHSA-mrfm-jxgf-2h6v
- **Published:** 2014-05-15T00:00:00.000Z
- **Modified:** 2026-06-17T00:07:37.603Z

## Who should check

- Projects that depend on Maven package org.elasticsearch:elasticsearch (\< 1.4.0.Beta1)
- Anyone running n/a (versions: see the vendor advisory)

## Description

The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code via the source parameter to \_search.  NOTE: this only violates the vendor's intended security policy if the user does not run Elasticsearch in its own independent virtual machine.

## Affected and fixed versions

- Maven `org.elasticsearch:elasticsearch`: affected \< 1.4.0.Beta1; fixed 1.4.0.Beta1 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade org.elasticsearch:elasticsearch to 1.4.0.Beta1 or later.

## Timeline

- 2014-05-15: Published
- 2022-03-25: Added to CISA KEV (exploited in the wild)
- 2022-04-15: CISA remediation due date for US federal agencies
- 2026-06-17: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2014-3120. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2014-3120.md
Affected: org.elasticsearch:elasticsearch < 1.4.0.Beta1
Fixed in: 1.4.0.Beta1

Steps:
1. Search this machine and project for org.elasticsearch:elasticsearch (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2014-3120 being exploited?

Yes. CISA lists CVE-2014-3120 in its Known Exploited Vulnerabilities catalog since 2022-03-25, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 88.56% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2014-3120?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2014-3120?

org.elasticsearch:elasticsearch \< 1.4.0.Beta1.

### Is there a fix for CVE-2014-3120?

Yes. Fixed in 1.4.0.Beta1. Upgrade org.elasticsearch:elasticsearch to 1.4.0.Beta1 or later.

### How do I check if I'm affected by CVE-2014-3120?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.elastic.co/blog/logstash-1-4-3-released>
- vendor: <https://www.elastic.co/community/security/>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2014-3120>
- patch: <https://github.com/elastic/elasticsearch/pull/7642>
- patch: <https://github.com/elastic/elasticsearch/commit/bd0eb32d9c3c3f5b6e5f8630c859cd04bdcd4e06>
- patch: <https://github.com/elastic/elasticsearch/commit/f9de8b65898509e038e33215db0720b508477a12>
- exploit: <http://www.exploit-db.com/exploits/33370>
- exploit: <http://www.securityfocus.com/bid/67731>
- exploit: <http://bouk.co/blog/elasticsearch-rce/>
- exploit: <http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce>
- exploit: <https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch>
- exploit: <https://www.exploit-db.com/exploits/33588>
- exploit: <https://www.exploit-db.com/exploits/33370>
- other: <http://www.osvdb.org/106949>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120>
- other: <https://github.com/elastic/elasticsearch/issues/7151>
- other: <https://github.com/elastic/elasticsearch>
- other: <https://web.archive.org/web/20140813071419/http://www.securityfocus.com/bid/67731>
- other: <https://www.elastic.co/community/security>
- other: <http://bouk.co/blog/elasticsearch-rce>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2014-3120>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-mrfm-jxgf-2h6v> (license: <https://creativecommons.org/licenses/by/4.0/>)
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/33588>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2014-3120> · JSON: <https://flawdb.com/api/v1/entries/CVE-2014-3120>
