CVE-2026-41178: OpenTelemetry-Go's baggage parsing no longer caps raw header length

Published May 28, 2026
·
Updated

Summary

https://github.com/open-telemetry/opentelemetry-go/pull/7880 removed raw-length rejection and it causes Parse to process arbitrarily large/invalid baggage headers and log errors, enabling DoS via oversized inputs.

Details

The commit removes the upfront baggage-string length check and the per-member size guard in parsing. Parse now walks the entire input with strings.SplitSeq and skips invalid members while continuing to process the rest. For very large or malformed baggage headers, the parser still fully tokenizes and percent-decodes each member, and errors are forwarded to the global error handler (default logging). This lets a remote client send oversized/invalid headers to trigger excessive CPU/memory work and potentially large log output before any size limit is enforced, creating a denial-of-service risk in services that do not already enforce strict header size limits.

Summary: - In baggage/baggage.go, parseMember performs full parsing and PathUnescape on the entire member without any size guard, amplifying work for large inputs. Parse no longer checks bStr length and continues processing invalid members, so oversized/invalid headers are fully parsed instead of being rejected early. - In propagation/baggage.go, parsing errors from attacker-controlled headers are sent to the global error handler (default logging), which can amplify oversized-input impact.

PoC

baggagedospoc.tar.gz

Impact

The issue is reachable through standard propagation parsing (in-scope) and can be exploited remotely to cause CPU/log amplification, but the impact is availability-only and bounded by transport header limits and configurable error handling, supporting a medium severity rather than high/critical.

baggage.Parse iterates over all list members with strings.SplitSeq and skips invalid members while continuing, without a raw-length guard. parseMember performs full parsing and PathUnescape on each member, and propagation.Baggage forwards parsing errors to the global error handler, which logs by default. A remote client can therefore send oversized/invalid baggage headers that bypass the 8KB limit for valid members, causing extra CPU work and large log output, resulting in availability/log amplification in services that accept large headers and use the default handler.

Assumptions:

- An instrumented service uses the OpenTelemetry baggage propagator for inbound request parsing. - Attackers can send oversized or malformed baggage headers that pass the hosting server/proxy header size limits. - The default error handler is used or logs are otherwise emitted for parse errors. - Inbound request parsing with propagation.Baggage - Oversized/invalid baggage headers accepted by the HTTP/gRPC stack - Error handler not suppressing parse errors

Other sources

OpenTelemetry-Go is the Go implementation of OpenTelemetry. Versions 1.41.0 and 1.43.0 removed raw-length rejection and it causes Parse to process arbitrarily large/invalid baggage headers and log errors, enabling DoS via oversized inputs. Versions 1.42.0 and 1.44.0 fix the issue.

MITRE

Affected Software

6 affected componentsFixes available
go/go.opentelemetry.io/otel/propagation=1.43.0
1.44.0
go/go.opentelemetry.io/otel/baggage=1.43.0
1.44.0
go/go.opentelemetry.io/otel/propagation=1.41.0
1.42.0
go/go.opentelemetry.io/otel/baggage=1.41.0
1.42.0
OpenTelemetry OpenTelemetry Go<1.42.0
OpenTelemetry OpenTelemetry Go=1.43.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/go.opentelemetry.io/otel/propagation to a version that resolves this vulnerability.

    Fixed in 1.44.0
  2. Upgrade

    Upgrade go/go.opentelemetry.io/otel/baggage to a version that resolves this vulnerability.

    Fixed in 1.44.0
  3. Upgrade

    Upgrade go/go.opentelemetry.io/otel/propagation to a version that resolves this vulnerability.

    Fixed in 1.42.0
  4. Upgrade

    Upgrade go/go.opentelemetry.io/otel/baggage to a version that resolves this vulnerability.

    Fixed in 1.42.0
  5. Upgrade

    Upgrade OpenTelemetry-Go to a version that resolves this vulnerability.

    Fixed in 1.42.0
  6. Upgrade

    Upgrade OpenTelemetry-Go to a version that resolves this vulnerability.

    Fixed in 1.44.0
  7. Configuration

    Configure OpenTelemetry-Go to suppress or avoid emitting/logging parse errors coming from attacker-controlled baggage header parsing (default global error handler logging can amplify oversized/invalid input impact).

    propagation.Baggage parsing (OpenTelemetry-Go) error handling for baggage parse errors (global error handler / default logging) = suppress or disable default parse-error logging

Event History

May 28, 2026
Advisory Published
via GitHub·05:04 PM
Data Sourced
via GitHub·05:04 PM
DescriptionSeverityWeaknessAffected Software
Jun 4, 2026
CVE Published
via MITRE·02:38 PM
Data Sourced
via MITRE·02:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
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-41178?

The severity of CVE-2026-41178 is medium with a score of 5.3.

2

What risk does CVE-2026-41178 pose?

CVE-2026-41178 poses a risk of denial-of-service (DoS) via oversized inputs.

3

How does CVE-2026-41178 affect system performance?

CVE-2026-41178 can lead to potential disruptions by allowing processing of arbitrarily large/invalid baggage headers.

4

How do I fix CVE-2026-41178?

To fix CVE-2026-41178, you should implement checks to validate the length of baggage headers before processing.

5

What components are impacted by CVE-2026-41178?

CVE-2026-41178 affects the go.opentelemetry.io/otel/propagation and go.opentelemetry.io/otel/baggage components.

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