XML external entity injection in Elasticsearch
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-611 and the CVSS impact.
Summary
Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Elastic | Elasticsearch | 6.5.0 and 6.5.1 | — | No fix listed | CNA |
| — | org.elasticsearch:elasticsearch (Maven) | 6.5.0 to before 6.5.2 | 6.5.2 | Patch available | GHSA-ccmr-qj26-845g |
- Elasticsearch VendorElastic Affected 6.5.0 and 6.5.1 Fixed in — No fix listed CNA
- org.elasticsearch:elasticsearch (Maven) Vendor— Affected 6.5.0 to before 6.5.2 Fixed in 6.5.2 Patch available GHSA-ccmr-qj26-845g
Remediation
- Fix · GHSA-ccmr-qj26-845g org.elasticsearch:elasticsearch (Maven) Fixed in 6.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-17247
- 2026-10-03 Alias added: GHSA-ccmr-qj26-845g
References
More Elasticsearch vulnerabilities
- TI-2015-01295 The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-02491 The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which… KEVCVSS 3.1HIGH 8.1
- TI-2023-15037 Elasticsearch StackOverflow vulnerability CVSS 3.1HIGH 7.5
- TI-2021-05135 Information disclosure in Elasticsearch CVSS 3.1MEDIUM 6.5
- TI-2021-05136 All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled… CVSS 3.1HIGH 7.5
- TI-2015-04530 Elasticsearch before 1.6.1 allows remote attackers to execute arbitrary code via… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2018-17247 · CVE Program
- CVE-2018-17247 · NVD
- FIRST EPSS
- GHSA-ccmr-qj26-845g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences