Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-74j5-xf3v-crq8: dd-trace-go: Improper parsing of W3C baggage headers may lead to DoS

0
High
Published: 07/15/2026 (07/15/2026, 23:05:19 UTC)
Source: GCVE Database
Product: github.com/DataDog/dd-trace-go

Description

The dd-trace-go library improperly parses W3C baggage HTTP headers without enforcing limits on the number or size of items during extraction. This allows a remote unauthenticated attacker to send requests with excessively large or numerous baggage items, causing unbounded CPU and memory usage. This can lead to a denial of service (DoS) against HTTP services using affected versions of the tracer with baggage propagation enabled. The issue is fixed in dd-trace-go version 2.8.1 and later.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Goghsa
github.com/DataDog/dd-trace-go
Affected versions
<=1.24.1
Goghsa
github.com/DataDog/dd-trace-go/v2
Affected versions
<2.8.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 10:47:51 UTC

Technical Analysis

Datadog's dd-trace-go library versions prior to 2.8.1 do not enforce item-count or byte-size limits on incoming W3C baggage headers during extraction, although such limits exist for injection. An attacker can exploit this by sending a request with a baggage header containing an arbitrarily large number of comma-separated key-value pairs or a single very large value. Each pair causes the tracer to allocate a hash-map entry, leading to unbounded CPU and memory consumption and enabling remote denial of service. The baggage propagation style is enabled by default in most affected tracers, exposing internet-facing services instrumented with these versions unless explicitly restricted.

Potential Impact

A remote, unauthenticated attacker can cause a denial of service by sending specially crafted HTTP requests with large or numerous baggage header items. This leads to excessive CPU and memory consumption in the dd-trace-go tracer, potentially degrading or crashing the instrumented HTTP service. There is no impact on confidentiality or integrity, only availability.

Mitigation Recommendations

A fix is available in dd-trace-go version 2.8.1 and later; upgrading to this version or newer fully resolves the issue. If immediate upgrade is not possible, users should disable baggage extraction by removing 'baggage' from the DD_TRACE_PROPAGATION_STYLE or DD_TRACE_PROPAGATION_STYLE_EXTRACT environment variables. Additionally, capping the maximum HTTP request header size at an upstream proxy or web server (e.g., Apache LimitRequestFieldSize, Nginx large_client_header_buffers, Envoy max_request_headers_kb) can mitigate the risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-74j5-xf3v-crq8
Osv Schema Version
1.4.0
Aliases
["CVE-2026-50274"]
Ecosystems
["Go"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a58b40468715ace43d67029

Added to database: 07/16/2026, 10:35:48 UTC

Last enriched: 07/16/2026, 10:47:51 UTC

Last updated: 07/17/2026, 03:42:33 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses