CVE-2021-37937
highpriority · track · 35EPSS 0.007 · 53 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.9–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-0029Elasticsearch und Kibana: Mehrere SchwachstellenDeutsch2021-09-01csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Elasticsearch und Kibana ausnutzen, um beliebigen Programmcode auszuführen, um Informationen offenzulegen, um einen Cross-Site Scripting Angriff durchzuführen und um Administratorrechte zu erlangen.
- BIT-elasticsearch-2021-37937Elasticsearch privilege escalation2024-03-06vendor · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2021-37937/cnnvd
- https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077cnnvd
- https://vigilance.fr/vulnerability/Elasticsearch-privilege-escalation-via-Fleet-server-Service-API-Keys-36293cnnvd
- https://www.elastic.co/community/securitycnnvd
- https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077enisa_euvd
- https://www.elastic.co/community/securityenisa_euvd
- https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077Vendor Advisorynvd
- https://www.elastic.co/community/securityVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan