{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-37937","id":"CVE-2021-37937","title":"Elasticsearch privilege escalation","description":"An issue was found with how API keys are created with the Fleet-Server service account. When an API key is created with a service account, it is possible that the API key could be created with higher privileges than intended. Using this vulnerability, a compromised Fleet-Server service account could escalate themselves to a super-user.","descriptionLong":"An issue was found with how API keys are created with the Fleet-Server service account. When an API key is created with a service account, it is possible that the API key could be created with higher privileges than intended. Using this vulnerability, a compromised Fleet-Server service account could escalate themselves to a super-user.","published":"2023-11-22T01:45:21.008Z","updated":"2026-10-24T10:30:28.155384494Z","reserved":"2021-08-03T20:49:52.461Z","status":"Modified","rejected":false,"assigner":"elastic","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"elastic"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"elastic"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"elastic.co"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"medium","products":["Elasticsearch"],"affectedProducts":[{"vendor":"Elastic","product":"Elasticsearch","defaultStatus":"unaffected","versions":[{"lessThan":"7.14.0","status":"affected","version":"7.13.0","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-269"],"aliases":["BIT-elasticsearch-2021-37937"],"references":[{"url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://www.elastic.co/community/security","tags":["x_transferred","Vendor Advisory","advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00714,"epssPercentile":0.54455,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-37937","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37937","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-37937","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-37937","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["elasticsearch"],"critical":[],"attention":null}