Elasticsearch
CVE-2025-37727
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent-network authenticated access
-
ExploitTrigger reindex API with audit logging enabled
-
ExecutionSensitive data written to audit log
-
ImpactRead log file to harvest secrets
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | Exploitation requires that Elasticsearch audit logging is enabled AND configured to log requests to the reindex API (https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-reindex); under those conditions sensitive information is inserted into the audit log file. Limiting factors are significant: this is non-default behavior (auditing must be explicitly turned on), the attacker needs adjacent-network access rather than arbitrary Internet reachability (AV:A), and must already be an authenticated low-privilege actor (PR:L) able to read the audit logs. There is no impact to integrity or availability (I:N/A:N) - confidentiality only. |
| Impact | This is a genuine but modest-priority issue, not a high-severity emergency. The vendor-assigned CVSS of 5.7 (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) reflects a confidentiality-only information-disclosure flaw (CWE-532) that is bounded by two meaningful limiters: it requires Adjacent (AV:A) access rather than full Internet reachability, and it requires an authenticated low-privilege actor (PR:L). All exploitation-pressure signals point downward and agree with each other: EPSS is only 0.25% (15th percentile), the CVE is NOT in CISA KEV, and no public proof-of-concept is referenced - so there is no public exploit identified at time of analysis. The C:H rating is notable but context-dependent: it only materializes under 'specific preconditions when auditing requests to the reindex API,' meaning audit logging must be enabled and capturing reindex calls, so the practical impact is narrower than the raw C:H suggests. One point to verify with the vendor: the official ESA-2025-18 advisory should be consulted to confirm the exact fixed versions and the precise audit configuration that triggers the leak, since the NVD CPE entries are wildcarded (version-unspecified) and do not themselves identify the vulnerable range. No signals are conflicting; they consistently indicate a low-to-moderate, condition-gated risk rather than a widespread exploitation threat. |
| Exploit ScenarioDerived | An Elasticsearch cluster has request auditing enabled on an operator who then calls the reindex API; sensitive information (such as credentials used for remote/cross-cluster reindex operations) is written into the audit log. A low-privileged but authenticated actor with adjacent-network access to those logs then reads the sensitive data from the log file. No public exploit code exists, and exploitation depends on audit logging being configured to capture reindex requests. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Information disclosure in Elasticsearch audit logs allows an authenticated low-privilege attacker with adjacent network access and read access to the audit log to obtain sensitive data when audit logging is enabled and configured to log reindex API requests. The issue is non-default (auditing must be explicitly turned on), requires high attack complexity per our assessment, and affects confidentiality only with no integrity or availability impact. No public exploit identified at time of analysis, and EPSS is low at 0.25% (15th percentile); the NVD base score is 5.7 but our assessment suggests a modest-priority issue rather than a high-severity emergency.
RemediationAI
Upgrade to the vendor-patched versions: Elasticsearch 8.18.8, 8.19.5, 9.0.8, or 9.1.5 as applicable, per the advisory at https://discuss.elastic.co/t/elasticsearch-8-18-8-8-19-5-9-0-8-9-1-5-security-update-esa-2025-18/382453. If immediate upgrade is not possible, disable audit logging for the reindex API if that logging is not required for compliance, or strictly restrict read access to audit log files to trusted administrators only; note that disabling audit logging reduces monitoring coverage and may violate regulatory requirements. Additionally, ensure that low-privilege users do not have read permissions on audit log files, as that is a precondition for exploitation. No public exploit is known, so prioritization can focus on environments with audit logging enabled and reindex API usage.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is classified as CWE-532 (Insertion of Sensitive Information into Log File). Elasticsearch's audit logging feature, when enabled and configured to capture requests to the reindex API, writes request details into log files without adequate sanitization. An attacker who can read those log files (requiring low-privilege authenticated access and adjacent network positioning) could extract sensitive information such as query parameters, credentials, or data being reindexed. The reindex API (https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-reindex) is used to copy documents between indices, and its requests may include sensitive payloads. The CPE strings identify Elasticsearch (elastic:elasticsearch) with wildcard versions, indicating multiple affected 8.x and 9.x releases.
Know when Elasticsearch gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Adjacent access to logs (AV:A) and authenticated low-priv actor (PR:L); AC:H because leak occurs only when audit logging of reindex requests is specifically configured; confidentiality-only impact.
Primary rating from Vendor (elastic).
CVSS VectorVendor: elastic
DescriptionCVE.org
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
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
More in Elasticsearch
View allThe Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the s
The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execut
Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unsp
Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, a
A flaw was discovered in Elasticsearch, affecting the _search API that allowed a specially crafted query string to cause
Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r
All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled by default in deployed clusters.
A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. Rated medium severit
Remote code execution in Elasticsearch's machine learning component allows an authenticated user with ML model deploymen
Heap corruption and potential remote code execution in Elasticsearch's native ML inference engine can be triggered by an
The fix for CVE-2020-7009 was found to be incomplete. Rated high severity (CVSS 8.8), this vulnerability is remotely exp
Elasticsearch versions from 6.7.0 before 6.8.8 and 7.0.0 before 7.6.2 contain a privilege escalation flaw if an attacker
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB