CVE-2025-37727 Elasticsearch Insertion of sensitive information in log file

Medium 5.7 Published Updated

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.

PackageAffectedFixed in
org.elasticsearch.plugin:reindex-client MavenFrom 7.0.08.18.8
org.elasticsearch.plugin:reindex-client MavenFrom 7.0.08.18.8
org.elasticsearch.plugin:reindex-client MavenFrom 8.19.08.19.5
org.elasticsearch.plugin:reindex-client MavenFrom 8.19.08.19.5
org.elasticsearch.plugin:reindex-client MavenFrom 9.0.0-beta19.0.8
org.elasticsearch.plugin:reindex-client MavenFrom 9.0.0-beta19.0.8
3 more packages
org.elasticsearch.plugin:reindex-client MavenFrom 9.1.09.1.5
org.elasticsearch.plugin:reindex-client MavenFrom 9.1.09.1.5
elasticsearch BitnamiAll versions8.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.

All Elastic Elasticsearch vulnerabilities

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.

Is CVE-2025-37727 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free