{"id":"CVE-2021-37937","details":"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.","aliases":["BIT-elasticsearch-2021-37937"],"modified":"2026-03-15T14:44:29.836428Z","published":"2023-11-22T02:15:42.043Z","references":[{"type":"ADVISORY","url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"},{"type":"ADVISORY","url":"https://www.elastic.co/community/security"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/elastic/elasticsearch","events":[{"introduced":"5ca8591c6fcdb1260ce95b08a8e023559635c6f3"},{"last_affected":"dd5a0a2acaa2045ff9624f3729fc8a6f40835aa1"}],"database_specific":{"versions":[{"introduced":"7.13.0"},{"last_affected":"7.14.0"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-37937.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}