CVE-2025-37727 Elasticsearch Insertion of sensitive information in log file
Attackers can read sensitive data from logs when auditing is enabled for reindex API requests in Elasticsearch.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-37727?
CVE-2025-37727 is a medium-severity vulnerability in Elastic Elasticsearch, published on 10 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Insertion of sensitive information in log file in Elasticsearch can lead to loss of confidentiality under specific preconditions when auditing requests to the reindex API https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-reindex
Weakness: CWE-532
Which versions are affected by CVE-2025-37727?
9 open source packages ship an affected version, including org.elasticsearch.plugin:reindex-client and elasticsearch. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.elasticsearch.plugin:reindex-client Maven | From 7.0.0 | 8.18.8 |
org.elasticsearch.plugin:reindex-client Maven | From 7.0.0 | 8.18.8 |
org.elasticsearch.plugin:reindex-client Maven | From 8.19.0 | 8.19.5 |
org.elasticsearch.plugin:reindex-client Maven | From 8.19.0 | 8.19.5 |
org.elasticsearch.plugin:reindex-client Maven | From 9.0.0-beta1 | 9.0.8 |
org.elasticsearch.plugin:reindex-client Maven | From 9.0.0-beta1 | 9.0.8 |
3 more packages
org.elasticsearch.plugin:reindex-client Maven | From 9.1.0 | 9.1.5 |
org.elasticsearch.plugin:reindex-client Maven | From 9.1.0 | 9.1.5 |
elasticsearch Bitnami | All versions | 8.18.8, 8.19.5, 9.0.8, 9.1.5 |
Products include Elastic Elasticsearch.
How do I fix CVE-2025-37727?
Upgrade org.elasticsearch.plugin:reindex-client to a fixed version for your release line: 8.18.8, 8.19.5, 9.0.8 or 9.1.5.
Is CVE-2025-37727 being exploited?
There is no known exploitation of CVE-2025-37727 in the wild and no public exploit code.
Other vulnerabilities in Elastic Elasticsearch
- CVE-2015-1427 Elasticsearch Groovy Scripting Engine Remote Code Execution
- CVE-2014-3120 Elasticsearch Remote Code Execution
- CVE-2015-5377 Code injection in n/a
- CVE-2026-72649 Deserialization of Untrusted Data in Elasticsearch Leading to Remote Code Execution
- CVE-2026-72642 Use of Out-of-range Pointer Offset in the Elasticsearch Machine Learning Native Inference Process
Sources
Also known as BIT-elasticsearch-2025-37727, CLEANSTART-2026-SU96145, ECHO-5478-882b-e488, GHSA-56r7-h6mw-rcfv, MINI-48j9-8wc9-vhqp, MINI-4m7v-9wm5-v496 and 15 more.