Vulnerability library
Security checkJune 15, 2026

OpenTelemetry Core: Unbounded memory allocation in W3C Baggage propagation

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@opentelemetry/core

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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:

  • Affected version(s): < 2.8.0
  • Patched version(s): 2.8.0

References

Could your website be exposed too?

SmartScanner can check your website for OpenTelemetry Core: Unbounded memory allocation in W3C Baggage propagation and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 15, 2026