# CVE-2020-7009: Improper Privilege Management in Elasticsearch

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.88%, higher than 80% of CVEs (2026-12-01)
- Published: 2020-03-31T19:05:13.000Z
- Modified: 2026-09-08T08:47:13.344Z
- Also known as: GHSA-gfv5-grx2-9jw2, BIT-ELASTICSEARCH-2020-7009
- Weaknesses: CWE-266, CWE-269
- Assigned by: elastic

## Description

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.

(As written by CVE List.)

## Affected

- Elastic Elasticsearch: All versions from 6.7.0 before 6.8.8 and 7.0.0 before 7.6.2; from 6.7.0 before 6.8.8; from 7.0.0 before 7.6.2
- org.elasticsearch:elasticsearch (Maven): from 6.7.0 before 6.8.8; from 7.0.0 before 7.6.2
- elasticsearch (Bitnami): from 6.7.0 before 6.8.8; from 7.0.0 before 7.6.2

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.elastic.co/community/security/> (advisory, vendor-advisory)
- <https://discuss.elastic.co/t/elastic-stack-6-8-8-and-7-6-2-security-update/225920> (advisory, mitigation, release-notes, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20200403-0004/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7009> (advisory, web)
- <https://github.com/elastic/elasticsearch> (package)
- <https://security.netapp.com/advisory/ntap-20200403-0004> (web)
- <https://www.elastic.co/community/security> (web)

## Sources

- CVE List: [CVE-2020-7009](https://www.cve.org/CVERecord?id=CVE-2020-7009), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-gfv5-grx2-9jw2](https://github.com/advisories/GHSA-gfv5-grx2-9jw2), CC-BY-4.0, modified 2024-02-21
- NVD: [CVE-2020-7009](https://nvd.nist.gov/vuln/detail/CVE-2020-7009), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-ELASTICSEARCH-2020-7009](https://osv.dev/vulnerability/BIT-ELASTICSEARCH-2020-7009), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-7009 · Whole record: https://cve.day/CVE-2020-7009.json · Rebuilt by cve.day 2026-11-25T22:57:51.725Z
