CVE-2025-37727
Medium · 5.7Elasticsearch: Insertion of Sensitive Information into Log File via reindex API
CVSS
5.7
EPSS
0.3%
Published
Oct 10, 2025
CISA due date
—
Cloudanix analysis
A search and data tool can accidentally write private details into its activity logs during certain data copying tasks when auditing is turned on, potentially letting the wrong people see that information.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Insertion of sensitive information into log files occurs when auditing is enabled for reindex API requests in Elasticsearch, exposing confidential data under specific preconditions.
Why it matters to the business
Organizations running affected Docker packages on SUSE systems face potential leakage of sensitive operational data through logs, increasing risk of unauthorized access to internal information; the issue has been public for over a year with stable low exploit likelihood.
How an attack unfolds
An attacker with access to Elasticsearch audit logs can obtain sensitive details if reindex API requests are audited, as the requests may include confidential parameters that get recorded in logs without proper redaction.
How to fix it
Upgrade affected Docker packages to the listed fixed versions: docker packages to 27.5.1_ce-150000.218.1 and docker-stable packages to 24.0.9_ce-150000.1.15.1 on all listed SUSE distributions.
How to confirm the fix worked
Verify package versions match the fixed releases above, review Elasticsearch audit configuration to ensure reindex requests no longer log sensitive fields, and inspect sample log outputs for absence of confidential data.
Typical attack path
- Identify Elasticsearch instances with auditing enabled for the reindex API
- Trigger or observe reindex operations that include sensitive request data
- Access the resulting log files to extract exposed confidential information
How to detect it
Examine Elasticsearch audit logs for reindex API entries containing unredacted sensitive parameters; check system logs and Docker container outputs for unexpected data exposure patterns after reindex operations.
What your security team should do
- Apply the specified Docker package upgrades immediately across all SUSE environments
- Review and restrict auditing configurations for the reindex API to minimize logging of sensitive fields
- Monitor log access controls and rotate any potentially exposed credentials or tokens
The record
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
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch | 7.0.0 | 8.18.8 |
| Maven | org.elasticsearch:elasticsearch | 8.19.0 | 8.19.5 |
| Maven | org.elasticsearch:elasticsearch | 9.0.0-beta1 | 9.0.8 |
| Maven | org.elasticsearch:elasticsearch | 9.1.0 | 9.1.5 |
| Bitnami | elasticsearch | 0 | 8.18.8 |
| Chainguard | camunda-8.8-compat | 0 | 8.8.8-r0 |
| Chainguard | camunda-zeebe-8.6-compat | 0 | 8.6.30-r0 |
| Chainguard | camunda-zeebe-8.7-compat | 0 | 8.7.17-r0 |
| Chainguard | camunda-zeebe-8.8-compat | 0 | 8.8.3-r1 |
| Chainguard | elasticsearch-8.17-config | 0 | 8.17.10-r13 |
| Chainguard | elasticsearch-fips-8.17-config | 0 | 8.17.10-r1 |
| Chainguard | elasticsearch-fips-8.18-bitnami | 0 | 8.18.8-r5 |
| Chainguard | ruby3.2-elasticsearch | 0 | 9.2.0-r0 |
| Chainguard | ruby3.3-elasticsearch | 0 | 9.2.0-r0 |
| Chainguard | ruby3.4-elasticsearch | 0 | 9.2.0-r0 |
| Chainguard | sonarqube | 0 | 25.12.0.117093-r1 |
| Chainguard | sonarqube-docker-compat | 0 | 25.10.0.114319-r0 |
| Chainguard | sonarqube-scripts | 0 | 25.10.0.114319-r0 |
| Wolfi | ruby3.2-elasticsearch | 0 | 9.2.0-r0 |
| Wolfi | ruby3.3-elasticsearch | 0 | 9.2.0-r0 |
| Wolfi | ruby3.4-elasticsearch | 0 | 9.2.0-r0 |
| Wolfi | sonarqube | 0 | 25.12.0.117093-r1 |
| Wolfi | sonarqube-docker-compat | 0 | 25.10.0.114319-r0 |
| Wolfi | sonarqube-scripts | 0 | 25.10.0.114319-r0 |
| maven | org.elasticsearch/elasticsearch | 7.0.0 | 8.18.8 |
| maven | org.elasticsearch/elasticsearch | 8.19.0 | 8.19.5 |
| maven | org.elasticsearch/elasticsearch | 9.0.0-beta1 | 9.0.8 |
| maven | org.elasticsearch/elasticsearch | 9.1.0 | 9.1.5 |
Related vulnerabilities
- CVE-2025-37731 Improper Authentication in Elasticsearch PKI realm can lead to user impersonation via… Also affects org.elasticsearch:elasticsearch
- CVE-2024-52979 Elasticsearch Uncontrolled Resource Consumption Vulnerability Also affects org.elasticsearch:elasticsearch
- CVE-2024-52981 Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion Also affects org.elasticsearch:elasticsearch
- CVE-2024-43709 Elasticsearch allocation of resources without limits or throttling leads to crash Also affects org.elasticsearch:elasticsearch
- CVE-2024-12539 Elasticsearch Incorrect Authorization vulnerability Also affects org.elasticsearch:elasticsearch
- CVE-2024-23444 It was discovered by Elastic engineering that when elasticsearch-certutil CLI tool is… Also affects org.elasticsearch:elasticsearch
- CVE-2023-49921 An issue was discovered by Elastic whereby Watcher search input logged the search query… Also affects org.elasticsearch:elasticsearch
- CVE-2024-37280 A flaw was discovered in Elasticsearch, affecting document ingestion when an index… Also affects org.elasticsearch:elasticsearch