# CVE-2023-49922: Beats Insertion of Sensitive Information into Log File

- Severity: Medium 6.8 (CVSS:3.1, scored by elastic) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 52% of CVEs (2026-11-30)
- Published: 2023-12-12T18:23:20.438Z
- Modified: 2026-09-10T03:50:04.389Z
- Also known as: GHSA-hj4r-2c9c-29h3, GO-2023-2413
- Related: CGA-4hcj-jj74-h6q9
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: elastic

## Description

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.

(As written by CVE List.)

## Affected

- Elastic Beats: from 7.0.0, 8.0.0 before 7.17.16, 8.11.3
- github.com/elastic/beats/v7 (Go): from 7.0.0 before 7.17.16; before 7.17.16
- github.com/elastic/beats (Go): from 8.0.0 before 8.11.3; from 7.0.0 before 7.17.16
- elastic elastic_beats: from 7.0.0 before 7.17.16; from 8.0.0 before 8.11.3

## Every score

- elastic: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://discuss.elastic.co/t/beats-and-elastic-agent-8-11-3-7-17-16-security-update-esa-2023-30/349180> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49922> (advisory)
- <https://github.com/elastic/beats/commit/9bd7de84ab9c31bb4e1c0a348a7b7c26817a0996> (fix, web)
- <https://github.com/elastic/beats> (package)

## Sources

- CVE List: [CVE-2023-49922](https://www.cve.org/CVERecord?id=CVE-2023-49922), CVE Terms of Use, modified 2024-12-02
- GitHub Advisory Database: [GHSA-hj4r-2c9c-29h3](https://github.com/advisories/GHSA-hj4r-2c9c-29h3), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2023-2413](https://pkg.go.dev/vuln/GO-2023-2413), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-49922](https://nvd.nist.gov/vuln/detail/CVE-2023-49922), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-49922 · Whole record: https://cve.day/CVE-2023-49922.json · Rebuilt by cve.day 2026-11-25T22:58:31.261Z
