CVE-2014-3120
Elasticsearch Improper Access Control vulnerability
Also known as EDB-33370, EDB-33588, GHSA-mrfm-jxgf-2h6v
Mitigation
- Upgrade org.elasticsearch:elasticsearch to 1.4.0.Beta1 or later.
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)
Vulnerability facts
- Affected
- org.elasticsearch:elasticsearch < 1.4.0.Beta1
- Fixed in
- 1.4.0.Beta1
- Exploited in the wild
- Yes: in CISA KEV since 2022-03-25; federal due date 2022-04-15
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 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
- EPSS
- 88.56% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-284
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.elasticsearch:elasticsearch | < 1.4.0.Beta1 | 1.4.0.Beta1 | osv |
| n/a | — | — | nvd |
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 Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
Patches
Exploits and PoCs
- http://www.exploit-db.com/exploits/33370
- http://www.securityfocus.com/bid/67731
- http://bouk.co/blog/elasticsearch-rce/
- http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce
- https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch
- https://www.exploit-db.com/exploits/33588
- https://www.exploit-db.com/exploits/33370
Other
- http://www.osvdb.org/106949
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120
- https://github.com/elastic/elasticsearch/issues/7151
- https://github.com/elastic/elasticsearch
- https://web.archive.org/web/20140813071419/http://www.securityfocus.com/bid/67731
- https://www.elastic.co/community/security
- http://bouk.co/blog/elasticsearch-rce
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.