CVE-2026-45292: opentelemetry-java: Unbounded Memory Allocation in W3C Baggage Propagation

Published May 14, 2026
·
Updated

Overview

A vulnerability affects the baggage propagation implementation in opentelemetry-api and opentelemetry-extension-trace-propagators. Parsing oversized baggage causes unbounded memory allocation and CPU consumption. Because baggage is automatically re-injected into every outgoing request, the effect can fan out to downstream services that never received the original malicious request.

Technical Details

- W3CBaggagePropagator did not enforce any limit on the total size or entry count of the baggage header. The parser iterated character-by-character through the entire value regardless of length. - JaegerPropagator and OtTracePropagator had the same gap in their respective baggage extraction paths. - The W3C Baggage specification recommends a maximum of 8,192 bytes and 180 entries; none of these limits were enforced.

Impact

The practical availability impact for most deployments is limited. Every major Java HTTP server enforces its own header size limit (Tomcat, Jetty, Netty, Vert.x, and gRPC-Java all default to 8 KiB), constraining what an external attacker can deliver before the application is reached. The risk is higher when transport-layer limits are absent — e.g., a compromised internal service communicating over a non-HTTP or custom transport.

Remediation

Update to version 1.62.0 or later (#8380). The fix enforces limits consistent with the W3C Baggage specification at the propagator level:

- Maximum total baggage size: 8,192 bytes across all baggage header values - Maximum number of entries: 64

Headers that would exceed either limit are dropped at the point the limit is reached; already-extracted valid entries are retained.

Workarounds

Ensure HTTP header size limits are configured at the server or gateway level. Most Java HTTP servers enforce an 8 KiB header limit by default, which mitigates external attack vectors independently of this fix.

References

- W3C Baggage Specification §Limits

Other sources

opentelemetry-java is the Java implementation of the OpenTelemetry API for recording telemetry, and SDK for managing telemetry recorded by the API. Prior to 1.62.0, a vulnerability affects the baggage propagation implementation in opentelemetry-api and opentelemetry-extension-trace-propagators. Parsing oversized baggage causes unbounded memory allocation and CPU consumption. Because baggage is automatically re-injected into every outgoing request, the effect can fan out to downstream services that never received the original malicious request. This vulnerability is fixed in 1.62.0.

MITRE

Affected Software

3 affected componentsFixes available
maven/io.opentelemetry:opentelemetry-extension-trace-propagators<=1.61.0
1.62.0
maven/io.opentelemetry:opentelemetry-api<=1.61.0
1.62.0
IBM API Connect V12 OnPrem<=All

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/io.opentelemetry:opentelemetry-extension-trace-propagators to a version that resolves this vulnerability.

    Fixed in 1.62.0
  2. Upgrade

    Upgrade maven/io.opentelemetry:opentelemetry-api to a version that resolves this vulnerability.

    Fixed in 1.62.0
  3. Upgrade

    Upgrade opentelemetry-java to a version that resolves this vulnerability.

    Fixed in 1.62.0Patch #8380
  4. Configuration

    Ensure HTTP header size limits are configured at the server or gateway level so oversized 'baggage' headers are dropped once the limit is reached.

    HTTP server/gateway level (applies to major Java HTTP servers mentioned) HTTP header size limits (including for the 'baggage' header) = Configure to enforce an 8,192-byte limit (W3C Baggage Specification maximum total size)

Event History

May 14, 2026
Advisory Published
via GitHub·04:36 PM
Data Sourced
via GitHub·04:36 PM
DescriptionSeverityWeaknessAffected Software
May 28, 2026
CVE Published
via MITRE·04:37 PM
Data Sourced
via MITRE·04:37 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·05:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45292?

CVE-2026-45292 has a high severity level due to its potential for unbounded memory allocation and CPU consumption.

2

How do I fix CVE-2026-45292?

To fix CVE-2026-45292, update the affected packages 'opentelemetry-api' and 'opentelemetry-extension-trace-propagators' to version 1.62.0 or later.

3

What systems are affected by CVE-2026-45292?

CVE-2026-45292 affects versions up to and including 1.61.0 of the packages 'io.opentelemetry:opentelemetry-api' and 'io.opentelemetry:opentelemetry-extension-trace-propagators'.

4

What causes the vulnerability in CVE-2026-45292?

The vulnerability in CVE-2026-45292 is caused by unbounded memory allocation when parsing oversized baggage within the OpenTelemetry libraries.

5

Is there a workaround for CVE-2026-45292 if I cannot update the software immediately?

Currently, there are no officially documented workarounds for CVE-2026-45292, so it is strongly recommended to update to the latest version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203