CVE-2026-41178
JSON

5.3medium

OpenTelemetry-Go's baggage parsing no longer caps raw header length

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.34% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-5wrp-cwcj-q835GO-2026-5158

Description

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.

Affected

Product or packageVersionsReported by
open-telemetry go.opentelemetry.io/otel/baggage= 1.41.0, = 1.43.0CVE List
open-telemetry go.opentelemetry.io/otel/propagation= 1.41.0, = 1.43.0CVE List
go.opentelemetry.io/otel/baggage (Go)from 1.41.0 before 1.42.0, from 1.43.0 before 1.44.0GitHub Advisory Database
go.opentelemetry.io/otel/propagation (Go)from 1.41.0 before 1.42.0, from 1.43.0 before 1.44.0GitHub Advisory Database
go.opentelemetry.io/otel (Go)from 1.41.0 before 1.42.0, from 1.43.0 before 1.44.0Go Vulnerability Database
opentelemetry opentelemetrybefore 1.42.0, 1.43.0NVD

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-789

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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

baggage_dos_poc.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
Go Vulnerability Database

Opentelemetry-go's baggage parsing no longer caps raw header length in go.opentelemetry.io/otel

NVD (es)

OpenTelemetry-Go es la implementación en Go de OpenTelemetry. Las versiones 1.41.0 y 1.43.0 eliminaron el rechazo por longitud bruta y esto provoca que 'Parse' procese encabezados de baggage arbitrariamente grandes/inválidos y registre errores, lo que permite DoS mediante entradas sobredimensionadas. Las versiones 1.42.0 y 1.44.0 corrigen el problema.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-41178 changed 2026-06-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-5wrp-cwcj-q835 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5158 changed 2026-07-27CC-BY-4.0
NVDCVE-2026-41178 changed 2026-07-22Public domain