{"id":"CVE-2026-50276","published":"2026-09-14T17:04:52Z","modified":"2026-09-14T17:38:12Z","title":"dd-trace-rb: Improper parsing of W3C baggage headers may lead to DoS","vendor":"DataDog","product":"dd-trace-rb","tier":"tail","description":{"text":"dd-trace-rb is Datadog's client library for Ruby. Prior to 2.32.0, W3C baggage extraction does not enforce DD_TRACE_BAGGAGE_MAX_ITEMS, which defaults to 64, or DD_TRACE_BAGGAGE_MAX_BYTES, which defaults to 8192, although those limits apply during baggage injection. A remote unauthenticated attacker can send a baggage HTTP header containing many comma-separated key-value pairs or a single very large value. The extraction path allocates entries while parsing the attacker-controlled header on every request, causing unbounded CPU and memory consumption in an HTTP service where the baggage propagation style is enabled, which is the default for most affected tracers. This can cause denial of service. This issue is fixed in version 2.32.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00793,"percentile":0.57259,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/DataDog/dd-trace-rb/security/advisories/GHSA-p5f6-rccc-jv98","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/DataDog/dd-trace-rb/pull/5672","tags":["x_refsource_MISC"]},{"url":"https://github.com/DataDog/dd-trace-rb/commit/361947090214488778ac4f144e219426ffcf92e6","tags":["x_refsource_MISC"]},{"url":"https://github.com/DataDog/dd-trace-rb/releases/tag/v2.32.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":11.45},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"datadog","affectedVersions":[{"vendor":"DataDog","product":"dd-trace-rb","versions":["< 2.32.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-14T17:37:49.381563Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"datadog","vulnerableRanges":["<2.32.0"],"patched":["2.32.0"],"from":["GHSA-p5f6-rccc-jv98"],"provenance":"source"}],"summary":{"text":"The flaw is in the W3C baggage extraction path of dd-trace-rb, Datadog's Ruby client library, where incoming baggage headers are parsed without enforcing the item-count and byte-size limits that exist for baggage injection. An attacker who can reach an HTTP service using the library, with no authentication or user interaction, can send a baggage header with many key-value pairs or a very large value to cause unbounded CPU and memory consumption, which affects services where the baggage propagation style is enabled (the default for most affected tracers).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:33Z"},"euvd":{"id":"EUVD-2026-77671","exploited":false,"provenance":"source"}}