patchminder
No public exploit found CVE-2023-49921

Information disclosurein Elasticsearch.

Published 26 Jul 2024 · Updated 2 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 5.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 7.17.16, 8.11.2
In plain words

An issue was discovered by Elastic whereby Watcher search input logged the search query results on DEBUG log level. This could lead to raw contents of documents stored in Elasticsearch to be printed in logs. Elastic has released 8.11.2 and 7.17.16 that resolves this issue by removing this excessive logging. This issue only affects users that use Watcher and have a Watch defined that uses the search input and additionally have set the search input’s logger to DEBUG or finer, for example using: org.elasticsearch.xpack.watcher.input.search, org.elasticsearch.xpack.watcher.input, org.elasticsearch.xpack.watcher, or wider, since the loggers are hierarchical.

What to do now
  • Upgrade Elasticsearch to 7.17.16, 8.11.2 or later, whichever matches your release line.
  • Upgrade org.elasticsearch:elasticsearch (Maven) to 7.17.16, 8.11.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Elasticsearch
7.0.0 to before 7.17.16
7.17.16
CVE record
Elasticsearch
8.0.0 to before 8.11.2
8.11.2
CVE record
org.elasticsearch:elasticsearch (Maven)
before 7.17.16
7.17.16
GitHub advisory
org.elasticsearch:elasticsearch (Maven)
8.0.0 to before 8.11.2
8.11.2
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 2 Dec 2023
    CVE ID reserved by elastic.
  2. 26 Jul 2024
    Published in the CVE List.
  3. 2 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Elasticsearch vulnerabilities

Same weakness: Sensitive information in log files

All CWE-532 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-49921: Information disclosure in Elasticsearch. https://patchminder.com/cve/cve-2023-49921/ (accessed 5 December 2026).