Vulnerabilities

Vulnerability · CVE-2023-31417

Elasticsearch generally filters out sensitive information and credentials before logging to the audit log.

Published Oct 26, 2023 · catalog updated Jun 17, 2026 · Elasticsearch generally filters out

Last checked Nov 4, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2023-31417. EPSS is 0.24%. Act only if a listed version of Elasticsearch generally filters out is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Elasticsearch generally filters out).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
Medium4.4
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.24%
Remediation
Version ranges on file
Affected products
cpe elastic/elasticsearch

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe elastic/elasticsearch>= 7.0.0, <= 7.17.12
  • cpe elastic/elasticsearch>= 8.0.0, <= 8.9.1

How to fix CVE-2023-31417

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2023-31417. EPSS is 0.24%. Act only if a listed version of Elasticsearch generally filters out is installed.

Which versions are affected?

Compare what you have installed with >= 7.0.0, <= 7.17.12, >= 8.0.0, <= 8.9.1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-532: Insertion of Sensitive Information into Log File. EPSS 0.24%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 26, 2023 · Monitored products — high

    Detected

    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 disabl

  2. Jun 17, 2026 · Monitored products — high

    Updated

    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 disabl

Sources

  • CVE.orgVulnerability recordCVE-2023-31417

    Official CVE identifier

    cve.org
  • Monitored products — highVendor advisoryCVE-2023-31417

    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 disabl

    nvd.nist.gov

References

Freshness

Last verified in this catalog Nov 4, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • CVE.orgNov 2, 2026
  • Monitored products — highNov 1, 2026