CVE-2020-7014
HIGH 8.8CVSS 3.1Privilege Escalation Flaw in Elasticsearch
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.
- Published
- 3 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security@elastic.co
- NVD status
- Modified
- Weakness
- CWE-266CWE-269
- Also known as
- BIT-elasticsearch-2020-7014GHSA-hqqv-9x3v-mp7w
- Sources
- NVDJSONOSV GHSA-hqqv-9x3v-mp7wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
>= 6.7.0, <= 6.8.7 | |
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
>= 7.0.0, <= 7.6.1 | |
| OSV | Maven | org.elasticsearch:elasticsearch | >= 6.7.0, < 6.8.8 | 6.8.8 |
| OSV | Maven | org.elasticsearch:elasticsearch | >= 7.0.0, < 7.6.2 | 7.6.2 |
References
- https://security.netapp.com/advisory/ntap-20200619-0003/ · WEB
- https://www.elastic.co/community/security/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7014 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 3 Jun 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Mar 2021)