CVE-2020-7014
Privilege Escalation Flaw in Elasticsearch
Reported by elastic · Published June 3, 2020
elasticsearch is fixed in 7.6.2 and 6.8.8 (Maven Central)
The fix for CVE-2020-7009 was found to be incomplete. Elasticsearch versions from 6.7.0 to 6.8.7 and 7.0.0 to 7.6.1 contain a privilege escalation flaw if an attacker is able to create API keys and also authentication tokens. An attacker who is able to generate an API key and an authentication token can perform a series of steps that result in an authentication token being generated with elevated privileges.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.elasticsearch:elasticsearch | Maven Central | 7.6.2, 6.8.8 |
| elasticsearch | Bitnami | 7.6.2, 6.8.8 |
| elasticsearch | elastic | 7.6.1, 6.8.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Elastic | Elasticsearch | 6.7.0 to 6.8.7 and 7.0.0 to 7.6.1 |
| Elastic | Elasticsearch | 6.7.0 |
| Maven | org.elasticsearch:elasticsearch | 6.7.0, 7.0.0 |
Timeline
- Jun 3, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 24, 2025 CVE Updated
- Mar 17, 2026 Security Advisory
- Aug 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-7014
vulnetix vdb fixes CVE-2020-7014
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7014/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2020-7014 advisory
- https://github.com/advisories/GHSA-hqqv-9x3v-mp7w advisory