Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-54285 EUVD-2026-38321GHSA-8988-4f7v-96qf

opentelemetry-js: Unbounded memory allocation in W3C Baggage propagation

Published Jun 22, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
open-telemetry opentelemetry-js < 2.8.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3 +1 3.191.0-r0 —
Wolfi rolling langfuse-3-compat 3.225.7-r6 —
Wolfi rolling opensearch-dashboards-3 3.8.0-r0 —
Wolfi rolling pulumi-language-nodejs 3.252.0-r0 —
Wolfi rolling renovate 43.231.2-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @opentelemetry/core < 2.8.0 2.8.0 GHSA-8988-4f7v-96qf

Advisories 1

References