# CVE-2024-37285: Kibana arbitrary code execution via YAML deserialization

> CVE-2024-37285: Kibana arbitrary code execution via YAML deserialization. CVSS 9.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2024-37285
Last updated: 2026-06-17T07:38:04Z

- Published: 2024-11-14 16:49 UTC · Updated: 2026-06-17 07:38 UTC · Assigner: elastic
- CVSS: 9.1 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- EPSS: 1.2%, 69th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-502

## Description

A deserialization issue in Kibana can lead to arbitrary code execution when Kibana attempts to parse a YAML document containing a crafted payload. A successful attack requires a malicious user to have a combination of both specific  Elasticsearch indices privileges https://www.elastic.co/guide/en/elasticsearch/reference/current/defining-roles.html\#roles-indices-priv  and  Kibana privileges https://www.elastic.co/guide/en/fleet/current/fleet-roles-and-privileges.html  assigned to them. The following Elasticsearch indices permissions are required   \*  write privilege on the system indices .kibana\_ingest\*   \*  The allow\_restricted\_indices flag is set to true Any of the following Kibana privileges are additionally required   \*  Under Fleet the All privilege is granted   \*  Under Integration the Read or All privilege is granted   \*  Access to the fleet-setup privilege is gained through the Fleet Server’s service account token

## Affected vendors and products

- elastic: kibana
- Elastic: Kibana

## Tracked companies

- [Elastic Cloud](https://rewindex.com/company/elastic-cloud.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-37285)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2024-37285)
- [https://discuss.elastic.co/t/kibana-8-15-1-security-update-esa-2024-27-esa-2024-28/366119](https://discuss.elastic.co/t/kibana-8-15-1-security-update-esa-2024-27-esa-2024-28/366119)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2024-37285 · Markdown: https://rewindex.com/cve/CVE-2024-37285.md · JSON: https://rewindex.com/api/v1/cves/CVE-2024-37285 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:14:30.165Z
