Skip to content

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

MediumCVSS 5.3 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
@opentelemetry opentelemetry < 2.8.0 2.8.0 Fixed
@opentelemetry/core(npm) < 2.8.0 2.8.0 Fixed
open-telemetry opentelemetry-js = < 2.8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
open-telemetry opentelemetry-js = < 2.8.0 No fix listed
@opentelemetry/core(npm) < 2.8.0 2.8.0
@opentelemetry opentelemetry < 2.8.0 2.8.0

References