# CVE-2023-6687: Elastic Agent Insertion of Sensitive Information into Log File

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-12-12 · Modified: 2024-08-02
- Record: https://cvemate.com/vulnerability/CVE-2023-6687 · JSON: https://cvemate.com/vulnerability/CVE-2023-6687/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- EPSS: 0.589%, percentile 49.58%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- elastic elastic agent: ≥ 7.0.0, 8.0.0, \< 7.17.16, 8.11.3 \| ≥ 7.0.0, \< 7.17.16 \| ≥ 8.0.0, \< 8.11.3

## References

- <https://discuss.elastic.co/t/beats-and-elastic-agent-8-11-3-7-17-16-security-update-esa-2023-30/349180>

---

Data as of 2026-12-05T09:38:58.056Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
