Memory Allocation Vulnerability in OpenTelemetry JavaScript Client
CVE-2026-54285
5.3MEDIUM
What is CVE-2026-54285?
The OpenTelemetry JavaScript Client prior to version 2.8.0 contains a vulnerability in the W3CBaggagePropagator.extract() function. This issue arises because the function does not impose size limits when parsing inbound baggage HTTP headers, leading to potential memory consumption without restriction. The W3C Baggage specification suggests a maximum size of 8,192 bytes and allows for up to 180 entries, but these limits were only enforced during outbound processing. As a result, oversized baggage can lead to excessive memory usage, making applications susceptible to performance degradation and resource exhaustion. This issue has been addressed in version 2.8.0.
Affected Version(s)
opentelemetry-js < 2.8.0
