Skip to main content

Elasticsearch CVE-2025-37727

MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2025-10-10 security@elastic.co
5.7
CVSS 3.1 · Vendor: elastic
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain adjacent-network authenticated access
  2. Exploit
    Trigger reindex API with audit logging enabled
  3. Execution
    Sensitive data written to audit log
  4. Impact
    Read 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

maven org.elasticsearch.plugin:reindex-client fix: 8.18.8, 8.19.5, 9.0.8, 9.1.5
maven org.elasticsearch:elasticsearch fix: 8.18.8, 8.19.5, 9.0.8, 9.1.5

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

Vendor (elastic) PRIMARY 5.7 MEDIUM
AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:A/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 5.7 MEDIUM

Primary rating from Vendor (elastic).

CVSS VectorVendor: elastic

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
High
Elasticsearch is a widely deployed enterprise search and logging platform
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
CVE-2015-1427 CRITICAL POC
9.8 Feb 17

The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the s

CVE-2014-3120 HIGH POC
8.1 Jul 28

The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execut

CVE-2015-5531 MEDIUM POC
5.0 Aug 17

Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unsp

CVE-2015-3337 MEDIUM POC
4.3 May 01

Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, a

CVE-2023-31419 HIGH
7.5 Oct 26

A flaw was discovered in Elasticsearch, affecting the _search API that allowed a specially crafted query string to cause

CVE-2026-82409 HIGH POC
8.4 Sep 23

Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r

CVE-2021-22146 HIGH POC
7.5 Jul 21

All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled by default in deployed clusters.

CVE-2021-22145 MEDIUM POC
6.5 Jul 21

A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. Rated medium severit

CVE-2026-72649 HIGH
8.8 Sep 01

Remote code execution in Elasticsearch's machine learning component allows an authenticated user with ML model deploymen

CVE-2026-72642 HIGH
8.8 Aug 13

Heap corruption and potential remote code execution in Elasticsearch's native ML inference engine can be triggered by an

CVE-2020-7014 HIGH
8.8 Jun 03

The fix for CVE-2020-7009 was found to be incomplete. Rated high severity (CVSS 8.8), this vulnerability is remotely exp

CVE-2020-7009 HIGH
8.8 Mar 31

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

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy