SecurityContext

CVE-2021-37937: Fleet-Server - Privilege Escalation

  • Cve: CVE-2021-37937
  • Name: Fleet-Server - 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.
  • Impact: Attackers can escalate privileges to super-user, potentially gaining full control over the system.
  • Remediation: Review and fix privilege assignment logic during API key creation, and implement proper privilege checks.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs access to API key creation functionality
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00724
  • Epss percentile: 0.54781
  • Assignee: [email protected]
  • Published at: 2023-11-22T02:15:42Z
  • Age in days: 1098
  • Modified at: 2026-06-17T04:01:17Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-37937
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-269Improper Privilege Management
NVD-CWE-noinfo—

References

UrlSourceTags
https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077nvdVendor Advisory
https://www.elastic.co/community/securitynvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
elastic:elasticsearch>= 7.13.0, <= 7.14.0nonvd/v1/products/elastic/elasticsearch

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 74440
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports