Vulnerabilities in pkg:maven/org.elasticsearch.plugin/reindex-client
PACKAGECVE-2025-37727 is a MODERATE (CVSS 5.7) insertion of sensitive information into vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Elasticsearch libraries in the Maven ecosystem. The issue involves insertion of sensitive information into log file via reindex api. Remediation is available by upgrading affected packages to version 9.1.5, 8.18.8, 8.19.5, 9.0.8.
pkg:maven/org.elasticsearch.plugin/reindex-client
Vulnerability advisories affecting package pkg:maven/org.elasticsearch.plugin/reindex-client. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-56r7-h6mw-rcfv | CVE-2025-37727 | MODERATE | Elasticsearch: Insertion of Sensitive Information into Log File via reindex API |
CVE-2025-37727 at a Glance
Security Impact
CVSS: 5.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-37727
To remediate this vulnerability, upgrade all affected Elasticsearch dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.elasticsearch.plugin</groupId>
<artifactId>reindex-client</artifactId>
<version>9.1.5</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.plugin</groupId>
<artifactId>reindex-client</artifactId>
<version>8.18.8</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.plugin</groupId>
<artifactId>reindex-client</artifactId>
<version>8.19.5</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.plugin</groupId>
<artifactId>reindex-client</artifactId>
<version>9.0.8</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.elasticsearch.plugin
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-37727, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.elasticsearch.plugin
Analyze the terminal output to locate any version of Elasticsearch in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.1.5), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.elasticsearch.plugin command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Elasticsearch, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-37727 Affected Elasticsearch Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.elasticsearch.plugin:reindex-client
|
Maven |
≥ 9.1.0
< 9.1.5
|
9.1.5
|
|
org.elasticsearch.plugin:reindex-client
|
Maven |
≥ 7.0.0
< 8.18.8
|
8.18.8
|
|
org.elasticsearch.plugin:reindex-client
|
Maven |
≥ 8.19.0
< 8.19.5
|
8.19.5
|
|
org.elasticsearch.plugin:reindex-client
|
Maven |
≥ 9.0.0-beta1
< 9.0.8
|
9.0.8
|
References
Frequently Asked Questions
What is CVE-2025-37727?
Which Elasticsearch versions are affected?
What version fixes CVE-2025-37727?
Is reindex-client affected?
What is the CVSS score of CVE-2025-37727?
What CWE is associated with CVE-2025-37727?
How can I check Maven dependencies for CVE-2025-37727?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-56r7-h6mw-rcfv",
"modified" : "2026-09-29T21:29:07Z",
"published" : "2025-10-10T12:30:55Z",
"aliases" : [ "CVE-2025-37727" ],
"summary" : "Elasticsearch: Insertion of Sensitive Information into Log File via reindex API",
"details" : "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",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.elasticsearch.plugin:reindex-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "8.18.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.elasticsearch.plugin:reindex-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.19.0"
}, {
"fixed" : "8.19.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.elasticsearch.plugin:reindex-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0-beta1"
}, {
"fixed" : "9.0.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.elasticsearch.plugin:reindex-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.1.0"
}, {
"fixed" : "9.1.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-37727"
}, {
"type" : "WEB",
"url" : "https://github.com/elastic/elasticsearch/commit/0b876b816544ff5ed07fc9d67cc584b58241e116"
}, {
"type" : "WEB",
"url" : "https://github.com/elastic/elasticsearch/commit/e982eef416a5e1c2a4e94236d7d3b33b5c8d07db"
}, {
"type" : "WEB",
"url" : "https://discuss.elastic.co/t/elasticsearch-8-18-8-8-19-5-9-0-8-9-1-5-security-update-esa-2025-18/382453"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/elastic/elasticsearch"
}, {
"type" : "WEB",
"url" : "https://www.elastic.co/guide/en/elasticsearch/reference/8.18/release-notes-8.18.8.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-11T00:13:33Z",
"nvd_published_at" : "2025-10-10T10:15:34Z"
}
}