CVE-2023-49921

published 26 Jul 2024 · updated 12 Aug 2026

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.

5.2MediumCVSS 5.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Elasticsearch 7.17.16 and Elasticsearch 8.11.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ElasticElasticsearch>=7.0.0 <7.17.16, >=8.0.0 <8.11.27.17.16, 8.11.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Elasticsearch, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-49921 severity on Zeptric[![CVE-2023-49921](https://zeptric.io/badge/cve/CVE-2023-49921.svg)](https://zeptric.io/cve/CVE-2023-49921)