Elasticsearch Insertion of Sensitive Information into Log File
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.elasticsearch:elasticsearch | < 7.17.16, >= 8.0.0, < 8.11.2 | 7.17.16, 8.11.2 |
References
- CVSS vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-532- Platform
- Java / Kotlin (Maven)
- Package
org.elasticsearch:elasticsearch- Disclosed
- 26.07.2024
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2hjr-vmf3-xwvp - CC BY 4.0
Vulnerability history: org.elasticsearch:elasticsearch
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 40
- First → latest
- 03.2021 05.2025
- Without a fix
- 0
- Exploited in attacks
- 2
Severity breakdown
- High 8
- Medium 31
- Low 1
Disclosures per year
- 2021: 7
- 2022: 19
- 2023: 4
- 2024: 7
- 2025: 3
- 2026: 0
-
Elasticsearch Insertion of Sensitive Information into Log File this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.