{"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-05-18T21:47:24.624481Z","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":{"extracted_events":[{"introduced":"7.13.0"},{"last_affected":"7.14.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-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"}]}