---
id: CVE-2026-50274
title: >-
  github.com/DataDog/dd-trace-go: Datadog dd-trace-go: Denial of Service via
  malicious baggage headers (CVE-2026-50274)
summary: >-
  A flaw was found in Datadog dd-trace-go, a Go client library. A remote,
  unauthenticated attacker can exploit this vulnerability by sending a request
  with a specially crafted baggage header containing an arbitrarily large number
  of key-valu…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-770
  - CWE-400
vendor: Red Hat
product: github.com/DataDog/dd-trace-go
affected:
  - github.com/DataDog/dd-trace-go <= 1.24.1
  - github.com/DataDog/dd-trace-go/v2 < 2.8.1
patched:
  - github.com/DataDog/dd-trace-go/v2 2.8.1
published: '2026-07-17'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T01:34:56+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50274.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50274.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-50274'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2501951'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-50274'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-50274'
  - url: >-
      https://github.com/DataDog/dd-trace-go/commit/192712ba0291b2e89166259111ebb5e90c8f52df
  - url: 'https://github.com/DataDog/dd-trace-go/pull/4720'
  - url: 'https://github.com/DataDog/dd-trace-go/releases/tag/v2.8.1'
  - url: >-
      https://github.com/DataDog/dd-trace-go/security/advisories/GHSA-74j5-xf3v-crq8
  - url: 'https://github.com/DataDog/dd-trace-go'
  - url: 'https://github.com/advisories/GHSA-74j5-xf3v-crq8'
tags:
  - csaf
  - vex
  - red-hat
  - osv
  - go
  - ghsa
epss: 0.00793
epssPercentile: 0.56151
aliases:
  - GHSA-74j5-xf3v-crq8
  - GO-2026-6000
ecosystem: go
ingestedAt: '2026-07-15T23:47:19.124Z'
---

## Overview

A flaw was found in Datadog dd-trace-go, a Go client library. A remote, unauthenticated attacker can exploit this vulnerability by sending a request with a specially crafted baggage header containing an arbitrarily large number of key-value pairs or a very large single value. This can lead to unbounded CPU and memory consumption, resulting in a denial of service (DoS) against HTTP services that have baggage propagation enabled.

## Vendor advisories

- **Red Hat VEX** · Important · updated 2026-09-26 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50274.json)

**github.com/DataDog/dd-trace-go: Datadog dd-trace-go: Denial of Service via malicious baggage headers** — rated Important by Red Hat. Released 2026-07-17, updated 2026-09-26.

Not affected:

- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat OpenShift Container Platform 4

## Remediation

Refer to the advisory for fix availability.

## Package advisory (CVE-2026-50274)

Affected packages:

- `github.com/DataDog/dd-trace-go <= 1.24.1`
- `github.com/DataDog/dd-trace-go/v2 < 2.8.1`

Patched in:

- `github.com/DataDog/dd-trace-go/v2 2.8.1`

Source: https://osv.dev/vulnerability/GHSA-74j5-xf3v-crq8
