CVE-2026-54285
opentelemetry-js: Unbounded memory allocation in W3C Baggage propagation
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
opentelemetry-js: Unbounded memory allocation in W3C Baggage propagation
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.
- Record
CVE-2026-54285- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-770
- Updated
- 2026-11-02
EUVDEUVD-2026-38321
5.3
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.
- Record
EUVD-2026-38321- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-8988-4f7v-96qf
5.3
OpenTelemetry Core: Unbounded memory allocation in W3C Baggage propagation
Overview
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.
Impact
The practical availability impact for most Node.js deployments is limited. Node.js enforces a default --max-http-header-size of 16,384 bytes on the total combined size of all HTTP headers, constraining what an external attacker can deliver before the propagator is reached. Additionally, the header is already in memory (parsed by the HTTP layer) by the time it reaches the propagator - the additional allocation is the overhead of splitting into entry objects, not an unbounded read.
The risk is higher when transport-layer limits are absent - e.g., non-HTTP transports (messaging systems, custom TextMapGetter implementations) or deployments that have raised --max-http-header-size.
Remediation
Update @opentelemetry/core to version 2.8.0 or later. The fix enforces limits consistent with the W3C Baggage specification at the propagator level:
- Maximum total baggage size: 8,192 bytes
- Maximum number of entries: 180
- Maximum per-entry size: 4,096 bytes
Headers that exceed these limits are truncated at the point the limit is reached.
Workarounds
Ensure header size limits are configured at the server or gateway level. The default Node.js HTTP header limit (16 KB) mitigates external attack vectors independently of this fix. For non-HTTP transports receiving baggage from untrusted sources, validate input size before passing it to the propagator.
References
- W3C Baggage Specification - Limits
- opentelemetry-java: GHSA-rcgg-9c38-7xpx
- opentelemetry-go: GHSA-mh2q-q3fh-2475
Credit
Reported by tonghuaroot.
- Record
GHSA-8988-4f7v-96qf- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-770
- Updated
- 2026-11-02
NVD
5.3
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.
- Record
CVE-2026-54285- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-770
- Updated
- 2026-11-02
OSV
5.3
opentelemetry-js: Unbounded memory allocation in W3C Baggage propagation
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.
- Record
CVE-2026-54285- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-770
- Updated
- 2026-11-02
OSVGHSA-8988-4f7v-96qf
5.3
OpenTelemetry Core: Unbounded memory allocation in W3C Baggage propagation
Overview
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.
Impact
The practical availability impact for most Node.js deployments is limited. Node.js enforces a default --max-http-header-size of 16,384 bytes on the total combined size of all HTTP headers, constraining what an external attacker can deliver before the propagator is reached. Additionally, the header is already in memory (parsed by the HTTP layer) by the time it reaches the propagator - the additional allocation is the overhead of splitting into entry objects, not an unbounded read.
The risk is higher when transport-layer limits are absent - e.g., non-HTTP transports (messaging systems, custom TextMapGetter implementations) or deployments that have raised --max-http-header-size.
Remediation
Update @opentelemetry/core to version 2.8.0 or later. The fix enforces limits consistent with the W3C Baggage specification at the propagator level:
- Maximum total baggage size: 8,192 bytes
- Maximum number of entries: 180
- Maximum per-entry size: 4,096 bytes
Headers that exceed these limits are truncated at the point the limit is reached.
Workarounds
Ensure header size limits are configured at the server or gateway level. The default Node.js HTTP header limit (16 KB) mitigates external attack vectors independently of this fix. For non-HTTP transports receiving baggage from untrusted sources, validate input size before passing it to the propagator.
References
- W3C Baggage Specification - Limits
- opentelemetry-java: GHSA-rcgg-9c38-7xpx
- opentelemetry-go: GHSA-mh2q-q3fh-2475
Credit
Reported by tonghuaroot.
- Record
GHSA-8988-4f7v-96qf- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-770
- Updated
- 2026-11-02
Show 14 moreShow less
OSVCLSA-2026-1791404287 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 2.1.0-tuxcare.1.
- Record
CLSA-2026-1791404287- Updated
- 2026-11-02
OSVCLSA-2026-1791409515 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 1.22.0-tuxcare.1.
- Record
CLSA-2026-1791409515- Updated
- 2026-11-02
OSVCLSA-2026-1791413402 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 1.30.1-tuxcare.1.
- Record
CLSA-2026-1791413402- Updated
- 2026-11-02
OSVCLSA-2026-1791413854 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 1.17.1-tuxcare.1.
- Record
CLSA-2026-1791413854- Updated
- 2026-11-02
OSVCLSA-2026-1791444115 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 1.27.0-tuxcare.1.
- Record
CLSA-2026-1791444115- Updated
- 2026-11-02
OSVCLSA-2026-1791444187 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 2.0.1-tuxcare.1.
- Record
CLSA-2026-1791444187- Updated
- 2026-11-02
OSVCLSA-2026-1791444279 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 1.17.0-tuxcare.1.
- Record
CLSA-2026-1791444279- Updated
- 2026-11-02
OSVCLSA-2026-1791453398 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 2.5.1-tuxcare.1.
- Record
CLSA-2026-1791453398- Updated
- 2026-11-02
OSVCLSA-2026-1791454221 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 2.2.0-tuxcare.1.
- Record
CLSA-2026-1791454221- Updated
- 2026-11-02
OSVCLSA-2026-1791456138 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 2.7.1-tuxcare.1.
- Record
CLSA-2026-1791456138- Updated
- 2026-11-02
OSVCLSA-2026-1793201463 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 1.25.1-tuxcare.1.
- Record
CLSA-2026-1793201463- Updated
- 2026-11-02
OSVCLSA-2026-1793205230 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 2.6.1-tuxcare.1.
- Record
CLSA-2026-1793205230- Updated
- 2026-11-02
OSVCLSA-2026-1793267873 No score
TuxCare security update for @opentelemetry/core (1 CVE)
TuxCare rebuilt @opentelemetry/core to address 1 CVE. Fixed in 2.7.0-tuxcare.1.
- Record
CLSA-2026-1793267873- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2026-54285 No score
CVE-2026-54285 in @opentelemetry/core - Patched by Root
Root has patched CVE-2026-54285 in the @opentelemetry/core package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2026-54285- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@opentelemetry/corenpm |
before 2.8.0 | 2.8.0 |
@opentelemetry/coreTuxCare:npm |
2.1.0-tuxcare.0 up to 2.1.0-tuxcare.1, plus listed versions 2.1.0 |
2.1.0-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
1.22.0-tuxcare.0 up to 1.22.0-tuxcare.1, plus listed versions 1.22.0 |
1.22.0-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
1.30.1-tuxcare.0 up to 1.30.1-tuxcare.1, plus listed versions 1.30.1 |
1.30.1-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
1.17.1-tuxcare.0 up to 1.17.1-tuxcare.1, plus listed versions 1.17.1 |
1.17.1-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
1.27.0-tuxcare.0 up to 1.27.0-tuxcare.1, plus listed versions 1.27.0 |
1.27.0-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
2.0.1-tuxcare.0 up to 2.0.1-tuxcare.1, plus listed versions 2.0.1 |
2.0.1-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
1.17.0-tuxcare.0 up to 1.17.0-tuxcare.1, plus listed versions 1.17.0 |
1.17.0-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
2.5.1-tuxcare.0 up to 2.5.1-tuxcare.1, plus listed versions 2.5.1 |
2.5.1-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
2.2.0-tuxcare.0 up to 2.2.0-tuxcare.1, plus listed versions 2.2.0 |
2.2.0-tuxcare.1 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
@opentelemetry/coreTuxCare:npm |
2.7.1-tuxcare.0 up to 2.7.1-tuxcare.1, plus listed versions 2.7.1 |
2.7.1-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
1.25.1-tuxcare.0 up to 1.25.1-tuxcare.1, plus listed versions 1.25.1 |
1.25.1-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
2.6.1-tuxcare.0 up to 2.6.1-tuxcare.1, plus listed versions 2.6.1 |
2.6.1-tuxcare.1 |
@opentelemetry/coreTuxCare:npm |
2.7.0-tuxcare.0 up to 2.7.0-tuxcare.1, plus listed versions 2.7.0 |
2.7.0-tuxcare.1 |
@opentelemetry/coreRoot:npm |
before 1.18.1-aikido.1 | 1.18.1-aikido.11.26.0-aikido.11.20.0-aikido.11.30.1-aikido.11.17.0-aikido.11.19.0-aikido.12.0.0-aikido.11.25.1-aikido.12.0.1-aikido.12.5.0-aikido.12.4.0-aikido.12.6.0-aikido.12.2.0-aikido.12.1.0-aikido.12.6.1-aikido.12.5.1-aikido.12.7.1-aikido.12.7.0-aikido.11.29.0-aikido.11.30.1-aikido.2 |
@rootio/opentelemetry__coreRoot:npm |
before 1.18.1-root.io.1 | 1.18.1-root.io.11.26.0-root.io.11.20.0-root.io.11.30.1-root.io.11.17.0-root.io.11.19.0-root.io.12.0.0-root.io.11.25.1-root.io.12.0.1-root.io.12.5.0-root.io.12.4.0-root.io.12.6.0-root.io.12.2.0-root.io.12.1.0-root.io.12.6.1-root.io.12.5.1-root.io.12.7.1-root.io.12.7.0-root.io.11.29.0-root.io.11.30.1-root.io.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-54285 is a medium vulnerability (CVSS 5.3) in Open-telemetry Opentelemetry-js, published June 15, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.40%, the 34th percentile. Fixed in @opentelemetry/core 2.8.0.