Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-7014
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:30 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-7014
Complete source record
{
"id": "a98aa2ade550f9ce566c3e0aa5291ff855cfaabfdd40f2bba4be6b5bbce50cc4",
"url": "https://osv.dev/vulnerability/CVE-2020-7014",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-7014",
"summary": "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.",
"evidence": "osv:CVE-2020-7014",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-7014",
"aliases": [
"BIT-elasticsearch-2020-7014",
"CVE-2020-7014",
"GHSA-hqqv-9x3v-mp7w"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/elastic/elasticsearch",
"type": "GIT",
"events": [
{
"introduced": "8453f7701de25c467ce08088ddddac185cb8028c"
},
{
"last_affected": "c63e621eaba638f77ebb10e03f7637688eb0a726"
},
{
"introduced": "b7e28a7232616c7a21bc879a535d801b8553ba77"
},
{
"last_affected": "aa751e09be0a5072e8570670309b1f12348f023b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.7.0"
},
{
"last_affected": "6.8.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0.0"
},
{
"last_affected": "7.6.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v6.8.7",
"v6.8.6",
"v6.8.5",
"v6.8.4",
"v6.8.3",
"v6.8.2",
"v6.8.1",
"v6.8.0",
"v6.7.2",
"v6.7.1",
"v6.7.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7014.json"
}
}
],
"modified": "2026-10-24T10:30:29.733337747Z",
"provider": "osv",
"references": [
"https://security.netapp.com/advisory/ntap-20200619-0003/",
"https://www.elastic.co/community/security/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-7014",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 432385,
"published_at": "2020-06-03T18:15:23.043+00:00"
}