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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| @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
| Product | Affected versions | Fixed 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
- https://github.com/open-telemetry/opentelemetry-js/security/advisories/GHSA-8988-4f7v-96qf mitigation vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2491458 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product