Vulnerabilities in pkg:maven/org.elasticsearch.plugin/reindex-client

PACKAGE
Advisory Identifier: GHSA-56r7-h6mw-rcfv
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.elasticsearch.plugin/reindex-client

1 Known Advisory Record(s)

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

CVE Identifier CVE-2025-37727
GHSA Identifier GHSA-56r7-h6mw-rcfv
Severity MODERATE
CVSS v3.1 Base Score 5.7
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Elasticsearch
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Adjacent (AV:A)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

org.elasticsearch.plugin:reindex-client fixed: 9.1.5
<dependency>
    <groupId>org.elasticsearch.plugin</groupId>
    <artifactId>reindex-client</artifactId>
    <version>9.1.5</version>
</dependency>
org.elasticsearch.plugin:reindex-client fixed: 8.18.8
<dependency>
    <groupId>org.elasticsearch.plugin</groupId>
    <artifactId>reindex-client</artifactId>
    <version>8.18.8</version>
</dependency>
org.elasticsearch.plugin:reindex-client fixed: 8.19.5
<dependency>
    <groupId>org.elasticsearch.plugin</groupId>
    <artifactId>reindex-client</artifactId>
    <version>8.19.5</version>
</dependency>
org.elasticsearch.plugin:reindex-client fixed: 9.0.8
<dependency>
    <groupId>org.elasticsearch.plugin</groupId>
    <artifactId>reindex-client</artifactId>
    <version>9.0.8</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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

CVE-2025-37727 Affected Elasticsearch Versions

4 component(s)
Fixed Versions:
9.1.58.18.88.19.59.0.8
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?
CVE-2025-37727 is a security vulnerability in Elasticsearch involving Insertion of Sensitive Information into Log File via reindex API under CWE-532: Insertion of Sensitive Information into Log File.
Which Elasticsearch versions are affected?
Affected versions include releases prior to 9.1.5, 8.18.8, 8.19.5, 9.0.8 across affected packages: org.elasticsearch.plugin:reindex-client.
What version fixes CVE-2025-37727?
Upgrading to 9.1.5, 8.18.8, 8.19.5, 9.0.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is reindex-client affected?
Yes, org.elasticsearch.plugin:reindex-client is affected in releases prior to 9.1.5, 8.18.8, 8.19.5, 9.0.8. Upgrade your dependency to 9.1.5, 8.18.8, 8.19.5, 9.0.8 or later.
What is the CVSS score of CVE-2025-37727?
CVE-2025-37727 has a CVSS v3.1 base score of 5.7 (MODERATE) with vector string CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-37727?
CVE-2025-37727 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Maven dependencies for CVE-2025-37727?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.elasticsearch.plugin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}