Privilege escalationin Elasticsearch.
No public exploit found; not on exploited lists.
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.
- Upgrade org.elasticsearch:elasticsearch (Maven) to 6.8.8, 7.6.2 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 14 Jan 2020CVE ID reserved by elastic.
- 31 Mar 2020Published in the CVE List.
- 4 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Elasticsearch vulnerabilities
Same weakness: Incorrect privilege assignment
- www.elastic.co x_refsource_MISC
- discuss.elastic.co x_refsource_MISC
- security.netapp.com x_refsource_CONFIRM
Patchminder. CVE-2020-7009: Privilege escalation in Elasticsearch. https://patchminder.com/cve/cve-2020-7009/ (accessed 5 December 2026).