CVE-2020-7009
HIGH 8.8CVSS 3.1Improper Privilege Management in Elasticsearch
Elasticsearch versions from 6.7.0 before 6.8.8 and 7.0.0 before 7.6.2 contain a privilege escalation flaw if an attacker is able to create API keys. An attacker who is able to generate an API key can perform a series of steps that result in an API key being generated with elevated privileges.
- Published
- 31 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security@elastic.co
- NVD status
- Modified
- Weakness
- CWE-266CWE-269
- Also known as
- BIT-elasticsearch-2020-7009GHSA-gfv5-grx2-9jw2
- Sources
- NVDJSONOSV GHSA-gfv5-grx2-9jw2JSON
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.8 | 6.8.8 |
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.6.2 | 7.6.2 |
| 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://discuss.elastic.co/t/elastic-stack-6-8-8-and-7-6-2-security-update/225920 · Mitigation, Release Notes, Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20200403-0004/ · Third Party Advisory, WEB
- https://www.elastic.co/community/security/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7009 · ADVISORY
- https://github.com/elastic/elasticsearch · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 31 Mar 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)