{"id":"CVE-2020-7009","published":"2020-03-31T19:05:13Z","modified":"2024-08-04T09:18:03Z","title":"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…","vendor":"Elastic","product":"Elasticsearch","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01881,"percentile":0.79973,"provenance":"source"},"cwes":[{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"references":[{"url":"https://www.elastic.co/community/security/","tags":["x_refsource_MISC"]},{"url":"https://discuss.elastic.co/t/elastic-stack-6-8-8-and-7-6-2-security-update/225920","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20200403-0004/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":15.99}]},"vendorSlug":"elastic","affectedVersions":[{"vendor":"Elastic","product":"Elasticsearch","versions":["All versions from 6.7.0 before 6.8.8 and 7.0.0 before 7.6.2"]}],"affected":[{"ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","vulnerableRanges":[">=6.7.0, <6.8.8",">=7.0.0, <7.6.2"],"patched":["6.8.8","7.6.2"],"from":["GHSA-gfv5-grx2-9jw2"],"provenance":"source"}],"summary":{"text":"Elastic's Elasticsearch, in versions from 6.7.0 before 6.8.8 and from 7.0.0 before 7.6.2, contains a privilege escalation flaw in its API key handling, which assigns incorrect privileges. An attacker who is able to create API keys can carry out a sequence of steps that results in a key being generated with elevated privileges, provided they already have the ability to create API keys.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:07Z"},"euvd":{"id":"EUVD-2022-3946","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-elasticsearch-cve-2020-7009","children":[{"from":"CVE-2020-7009","to":"CVE-2020-7014","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The fix for CVE-2020-7009 was found to be incomplete.","from":"CVE.org","in":"CVE-2020-7014"},{"kind":"similar","provenance":"machine","score":0.83,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2019-7611","published":"2019-03-25","fixed":"6.6.1","kev":false},{"cve":"CVE-2019-7614","published":"2019-07-30","fixed":"7.2.1","kev":false},{"cve":"CVE-2019-7619","published":"2019-10-30","fixed":"7.4.0","kev":false,"link":{"from":"CVE-2019-7619","to":"CVE-2020-7009","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.elasticsearch:elasticsearch","fromFixed":"7.4.0","toFixed":"7.6.2","daysApart":153},{"kind":"version-step","provenance":"source","package":"Maven:org.elasticsearch:elasticsearch","fromFixed":"6.8.4","toFixed":"6.8.8","daysApart":153}]}},{"cve":"CVE-2020-7009","published":"2020-03-31","fixed":"7.6.2","kev":false},{"cve":"CVE-2020-7014","published":"2020-06-03","fixed":"7.6.2","kev":false},{"cve":"CVE-2020-7019","published":"2020-08-18","fixed":"7.9.0","kev":false},{"cve":"CVE-2020-7020","published":"2020-10-22","fixed":"7.9.2","kev":false}],"package":"Maven:org.elasticsearch:elasticsearch"}}