What’s Vulnerable › Vulnerabilities

CVE-2026-54285: opentelemetry-js: Unbounded memory allocation in W3C Baggage propagation

Description

opentelemetry-js is the OpenTelemetry JavaScript Client. Prior to 2.8.0, W3CBaggagePropagator.extract() in @opentelemetry/core does not enforce size limits when parsing inbound baggage HTTP headers. The W3C Baggage specification recommends a maximum of 8,192 bytes and 180 entries; these limits were only enforced on the outbound (inject()) path, not on the inbound (extract()) path. Parsing oversized baggage causes memory allocation proportional to the header size without any cap. This vulnerability is fixed in 2.8.0.

Affected products

How to fix

Upgrade to a fixed version: open-telemetry opentelemetry-go 2.8.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-54285 or the next vulnerability affects your stack