Vulnerabilities/

OpenTelemetry Core: Unbounded memory allocation in W3C Baggage propagation

Severity:
Medium

Description

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.

Recommendation

Update the @opentelemetry/core package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@opentelemetry/core
Anything's wrong? Let us know Last updated on June 15, 2026