CVE-2025-37727: 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...
Medium CVSS 5.7
- CVE id
- CVE-2025-37727
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Elasticsearch Runtimes and servers |
>= 7.0.0, <= 7.17.29 >= 8.0.0, < 8.18.8 >= 8.19.0, < 8.19.5 >= 9.0.0, < 9.0.8 >= 9.1.0, < 9.1.5 |
8.18.8, 8.19.5, 9.0.8, 9.1.5 |
How to fix it
Upgrade Elasticsearch to the fixed release of the line you run: 8.18.8, 8.19.5, 9.0.8, 9.1.5.
curl -s localhost:9200
- Upgrade Elasticsearch (the elasticsearch image tag or packages) to the patched release with a rolling restart; on Elastic Cloud, upgrade the deployment.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
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
References
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.