# CVE-2023-6687: Elastic Agent 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.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2023-12-12T18:28:06.423Z
- Modified: 2026-06-17T06:51:14.457Z
- Weaknesses: CWE-532
- Assigned by: elastic

## Description

An issue was discovered by Elastic whereby 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 Elastic Agent attempted to ingest, this could lead to the insertion of sensitive or private information in the 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 Elastic Agent: from 7.0.0, 8.0.0 before 7.17.16, 8.11.3
- elastic elastic_agent: 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`
- 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)

## Sources

- CVE List: [CVE-2023-6687](https://www.cve.org/CVERecord?id=CVE-2023-6687), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-6687](https://nvd.nist.gov/vuln/detail/CVE-2023-6687), Public domain, modified 2026-06-17

---

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