Live threats

All CVEs / Elastic

CVE-2023-31417Elasticsearch

Medium 4.4

Priority
26
CVSS 3.1
4.4
EPSS
0.3%
probability of exploitation in 30 days · percentile 16
Auth required
Yes
Published
Oct 26, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-532
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

What happens

Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It was found that this filtering was not applied when requests to Elasticsearch use certain deprecated URIs for APIs. The impact of this flaw is that sensitive information such as passwords and tokens might be printed in cleartext in Elasticsearch audit logs. Note that audit logging is disabled by default and needs to be explicitly enabled and even when audit logging is enabled, request bodies that could contain sensitive information are not printed to the audit log unless explicitly configured.

Original NVD text.

What to do

  1. Apply the vendor's security update for Elasticsearch.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.elasticsearch:elasticsearch ≥ 7.0.0 < 7.17.13 7.17.13 —
Maven org.elasticsearch:elasticsearch ≥ 8.0.0 < 8.9.2 8.9.2 —

Per OSV / GitHub Advisories (GHSA-99pc-69q9-jxf2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
elasticelasticsearch≥ 7.0.0 ≤ 7.17.12
elasticelasticsearch≥ 8.0.0 ≤ 8.9.1

Official sources

References

Links published by the sources. Open them with care.