CVE-2025-37727
Java vulnerability analysis and mitigation

Overview

CVE-2025-37727 is a sensitive information disclosure vulnerability discovered in Elasticsearch's audit logging system. The vulnerability was disclosed on October 6, 2025, affecting Elasticsearch versions from 7.0.0 through 7.17.29, 8.0.0 through 8.18.7, 8.19.0 through 8.19.4, 9.0.0 through 9.0.7, and 9.1.0 through 9.1.4. The vulnerability can lead to loss of confidentiality under specific preconditions when auditing requests to the reindex API (Elastic Security, Security Online).

Technical details

The vulnerability has been assigned a CVSS v3.1 score of 5.3 (Medium) with the vector string CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. The issue manifests when three specific conditions are met simultaneously: audit logging is enabled (xpack.security.audit.enabled: true), authentication success events are logged, and request body logging is explicitly enabled (xpack.security.audit.logfile.events.emitrequestbody: true) (Elastic Security).

Impact

The vulnerability can result in sensitive information being exposed in log files when auditing requests to the reindex API. Because these options are rarely all active by default, the vulnerability has limited impact, but still poses risks for regulated environments where audit logs may capture sensitive payloads (Security Online).

Mitigation and workarounds

The vulnerability has been patched in Elasticsearch versions 8.18.8, 8.19.5, 9.0.8, and 9.1.5. For users who cannot immediately upgrade, a workaround is available by setting xpack.security.audit.logfile.events.emitrequestbody to false. This applies to both self-hosted and cloud users (Elastic Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-30001HIGH7.3
  • JavaJava
  • org.apache.streampark:streampark
NoNoOct 10, 2025
CVE-2025-37727MEDIUM5.7
  • JavaJava
  • org.elasticsearch:elasticsearch
NoYesOct 10, 2025
CVE-2025-62238MEDIUM4.8
  • JavaJava
  • com.liferay:com.liferay.account.admin.web
NoYesOct 10, 2025
CVE-2025-62237MEDIUM4.8
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesOct 10, 2025
CVE-2025-62239MEDIUM4.6
  • JavaJava
  • com.liferay:com.liferay.portal.workflow.kaleo.designer.web
NoYesOct 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management