---
id: CVE-2024-37286
aliases:
  - GHSA-f6cj-4h3g-hwq4
  - GO-2024-3037
title: APM Server vulnerable to Insertion of Sensitive Information into Log File
summary: APM Server vulnerable to Insertion of Sensitive Information into Log File
severity: medium
cvss: 5.7
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
vendor: elastic
product: github.com/elastic/apm-server
ecosystem: go
affected:
  - github.com/elastic/apm-server < 8.14.0
patched:
  - github.com/elastic/apm-server 8.14.0
published: '2024-08-03'
updated: '2026-08-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-f6cj-4h3g-hwq4'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-37286'
  - url: >-
      https://discuss.elastic.co/t/apm-server-8-14-0-security-update-esa-2024-19/364289
  - url: 'https://github.com/elastic/apm-server'
  - url: 'https://pkg.go.dev/vuln/GO-2024-3037'
tags:
  - osv
  - go
epss: 0.00494
epssPercentile: 0.4153
ingestedAt: '2026-08-07T19:14:16.592Z'
---

## Overview

APM server logs contain document body from a partially failed bulk index request. For example, in case of unavailable_shards_exception for a specific document, since the ES response line contains the document body, and that APM server logs the ES response line on error, the document is effectively logged.

## Affected packages

- `github.com/elastic/apm-server < 8.14.0`

## Remediation

Upgrade to a patched release:

- `github.com/elastic/apm-server 8.14.0`
