Elastic Agent Insertion of Sensitive Information into Log File
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-6687
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:38 UTC · Revision 1
Source evidence
Elastic Agent Insertion of Sensitive Information into Log File
core-osv · Original sourcePublished 12 Dec 2023, 18:28 UTC
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.
osv:CVE-2023-6687
Complete source record
{
"id": "69f8073940bc30d0635c66b861781789589b685037c4a9767ae60e5ce3c2ec22",
"url": "https://osv.dev/vulnerability/CVE-2023-6687",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Elastic Agent Insertion of Sensitive Information into Log File",
"summary": "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.",
"evidence": "osv:CVE-2023-6687",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-6687",
"aliases": [
"CVE-2023-6687"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/elastic/elastic-agent",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f4f6fbb3e6c81f37cec57a3c244f009b14abd74f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.11.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v8.11.2",
"v8.11.1",
"v8.11.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6687.json"
}
}
],
"modified": "2026-10-28T02:30:37.861916193Z",
"provider": "osv",
"references": [
"https://discuss.elastic.co/t/beats-and-elastic-agent-8-11-3-7-17-16-security-update-esa-2023-30/349180",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6687.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-6687"
],
"provider_metadata": {
"cwe_ids": [
"CWE-532"
],
"cna_assigner": "elastic",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "7.0.0, 8.0.0"
},
{
"fixed": "7.17.16, 8.11.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6687.json"
}
},
"related_cves": [
{
"value": "CVE-2023-6687",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505372,
"published_at": "2023-12-12T18:28:06.423+00:00"
}