GHSA-hj4r-2c9c-29h3
GitHub Security Advisory
Elastic Beats inserts sensitive information into log file
✓ GitHub Reviewed
MODERATE
Has CVE
Advisory Details
An issue was discovered by Elastic whereby Beats and Elastic Agent would log a raw event in its own logs at the WARN or ERROR level if ingesting that event to Elasticsearch failed with any 4xx HTTP status code except 409 or 429. Depending on the nature of the event that Beats or Elastic Agent attempted to ingest, this could lead to the insertion of sensitive or private information in the Beats or Elastic Agent logs. Elastic has released 8.11.3 and 7.17.16 that prevents this issue by limiting these types of logs to DEBUG level logging, which is disabled by default.
Affected Packages
Go
github.com/elastic/beats/v7
Affected versions:
7.0.0
(fixed in 7.17.16)
Go
github.com/elastic/beats
Affected versions:
8.0.0
(fixed in 8.11.3)
Go
github.com/elastic/beats
Affected versions:
7.0.0
(fixed in 7.17.16)
Related CVEs
Key Information
5.0
/10
Dataset
Last updated: November 26, 2025 6:30 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.