CVE-2026-128086: OpenTelemetry-Go Eager W3C Baggage-property Materialization Causes Vulnerability

MODERATE
Advisory Identifier: GHSA-rrfc-gjm9-cgrj
CVSS 5.3
CWE-405 CWE-400
Published
Advisory Summary

CVE-2026-128086 is a MODERATE (CVSS 5.3) eager w3c baggage-property materialization causes vulnerability (CWE-405: Asymmetric Resource Consumption (Amplification)) affecting OpenTelemetry-Go libraries in the Go ecosystem. The issue involves eager w3c baggage-property materialization causes bounded memory-allocation amplification. Remediation is available by upgrading affected packages to version 1.47.0.

CVE-2026-128086 at a Glance

CVE Identifier CVE-2026-128086
GHSA Identifier GHSA-rrfc-gjm9-cgrj
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-405: Asymmetric Resource Consumption (Amplification)
Affected Product OpenTelemetry-Go
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-128086

To remediate this vulnerability, upgrade all affected OpenTelemetry-Go dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

go.opentelemetry.io/otel/baggage fixed: 1.47.0
Upgrade go.opentelemetry.io/otel/baggage to 1.47.0
go.opentelemetry.io/otel/propagation fixed: 1.47.0
Upgrade go.opentelemetry.io/otel/propagation to 1.47.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for go.opentelemetry.io/otel/baggage

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-128086, inspect your project dependencies for OpenTelemetry-Go:

inspect dependencies for go.opentelemetry.io/otel/baggage

Analyze the terminal output to locate any version of OpenTelemetry-Go in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.47.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-405: Asymmetric Resource Consumption (Amplification), where the product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authorization, i.e., the adversary's influence is "asymmetric.". In OpenTelemetry-Go, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary OpenTelemetry Go eagerly materializes W3C baggage metadata into property objects during parsing. Slice growth, serialization, and copying into the internal representation cause **bounded but disproportionate memory-allocation amplification** for a valid, densely populated header. In v1.46.0 and v1.47.0-rc.1, the 8,192-byte raw-input limit is checked before member parsing; this is not unlimited allocation or a bypass of that limit. A valid 8,191-byte value containing one member and 4,094 properties causes approximately 778 KB of cumulative allocation per parse. A corrected measurement with forced garbage collection before and after parsing retains approximately 164 KB per result while it remains live. These are different metrics: approximately 95 times the input in allocation traffic versus approximately 20 times in incremental live heap in the measured environment. The relevant security configuration is a service that enables Baggage propagation and extracts attacker-controlled inbound context before authentication or on a public route. Concurrent or sustained requests can increase allocation and GC pressure. The evidence establishes allocation amplification, but does not establish reliable OOM, process termination, or complete denial of service. This is a **pre-existing, independent allocation-amplification path not addressed by GHSA-5wrp-cwcj-q835 / CVE-2026-41178**. It predates that advisory; it is not described as having been introduced by its fix. ## Affected module, versions, and symbols - Go module: `go.opentelemetry.io/otel`. - Import paths and entry points: `go.opentelemetry.io/otel/baggage.Parse` and `go.opentelemetry.io/otel/propagation.Baggage.Extract`. - Implementation: `parseMember`, property-slice growth and serialization, and conversion into `internal/baggage.Item`. - Source history places the eager-property implementation at commit `4bf6150fa94e18bdf01c96ed78ee6d1c76f8e308`, first included in `v1.0.0-RC1`; the stable release line starts at `v1.0.0`. - Affected release range: `>= 1.0.0-RC1, < 1.47.0`. - Patched release: `v1.47.0` (https://github.com/open-telemetry/opentelemetry-go/pull/9024), which validates and normalizes W3C property metadata in place during `Parse` and materializes `Property` structs lazily only when `Member.Properties()` is explicitly called. - Small parser measurements were run on `v1.0.0-RC1`, `v1.0.0`, `v1.46.0`, and `v1.47.0-rc.1`; this is not a claim to have dynamically tested every intervening release. The v1.46.0 and v1.47.0-rc.1 parser source is identical to the inspected main commit `901e812ec023f45f791cd4d49cfbbef353ae21ae`. Early releases have a 4,096-byte per-member limit. They reproduce the same mechanism with a 4,095-byte member containing 2,046 properties; the 8,191-byte single-member input is rejected there. The 8 KB example and its numerical allocation result must not be projected onto every historical version. ## Root cause and input bounds For the valid dense input, each short property becomes a Go `Property`, and the slice grows as parsing proceeds. The parser subsequently serializes the member and copies its properties into the internal representation. A two-byte wire fragment can therefore produce substantially more than two bytes of allocation work. Temporary parser objects and internal retained objects must not be added together and described as permanently retained memory. In the currently measured parser, the raw 8,192-byte limit and 64-member limit still apply. The number of accepted properties is consequently bounded by input length even though there is no separate property-count guard. **Eager representation and copying are the defect described here; the absence of an arbitrary count cap is not, by itself, the defect.** The primary input is constructed as `"k=v" + strings.Repeat(";a", 4094)` (8,191 bytes); the equal-size value-only control is `"k=" + strings.Repeat("v", 8189)`. Call `baggage.Parse` once for each measured result. To verify the property count separately, inspect `bag.Members()[0].Properties()` outside the measured interval; this accessor itself allocates. The primary example remains the valid 8,191-byte, 4,094-property input already supplied in this private report. Empty-property input discussed in the maintainer review is malformed and is supplementary parser-hardening evidence, not the standards-compliant primary example or the basis of the severity score. ## HTTP reachability and authentication ordering The Go global propagator is initially a no-op. Installing the library alone does not expose this path. Baggage must be enabled explicitly or by applicable auto-configuration; standardized auto-configuration defaults do not establish an individual application's configuration. An ordinary HTTP composition can place `otelhttp.NewHandler` outside the authentication handler. With `propagation.Baggage{}` enabled and the request not excluded by a filter, the checked `otelhttp` implementation calls `h.propagators.Extract(r.Context(), propagation.HeaderCarrier(r.Header))` before `next.ServeHTTP`. Authentication inside `next` therefore runs after extraction, including for a request that is ultimately rejected with 401/403. Reversing the composition so authentication rejects before entering `otelhttp` prevents this unauthenticated extraction path. This is a source-level ordering check of a normal integration, not a claim about all services or an executed HTTP benchmark. Source checked: [otelhttp handler at ce138eb092f223e4e41e0420c58fc34910bc2b56, extraction at line 98 and downstream handler at line 185](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/ce138eb092f223e4e41e0420c58fc34910bc2b56/instrumentation/net/http/otelhttp/handler.go#L98). A filter that bypasses instrumentation takes a separate path and is outside this stated composition. Remote reachability requires all of the following: Baggage extraction is enabled; attacker-controlled input reaches it; the transport and proxy accept the relevant header size; and extraction runs before authentication or on a public route. Material service impact further depends on request rate, concurrency, request lifetime, GC behavior, and resource limits. Authentication is a mitigation only if it precedes extraction. A path that requires a properly authenticated triggering client must also be evaluated under the project's authenticated-client DoS exclusion.

CVE-2026-128086 Affected OpenTelemetry-Go Versions

2 component(s)
Fixed Versions:
1.47.0
Product / Package Ecosystem Affected Versions Fixed Version
go.opentelemetry.io/otel/baggage
Go
≥ 1.0.0-RC1
< 1.47.0
1.47.0
go.opentelemetry.io/otel/propagation
Go
≥ 1.0.0-RC1
< 1.47.0
1.47.0

References

Frequently Asked Questions

What is CVE-2026-128086?
CVE-2026-128086 is a security vulnerability in OpenTelemetry-Go involving Eager W3C baggage-property materialization causes bounded memory-allocation amplification under CWE-405: Asymmetric Resource Consumption (Amplification).
Which OpenTelemetry-Go versions are affected?
Affected versions include releases prior to 1.47.0 across affected packages: go.opentelemetry.io/otel/baggage, go.opentelemetry.io/otel/propagation.
What version fixes CVE-2026-128086?
Upgrading to 1.47.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is go.opentelemetry.io/otel/baggage affected?
Yes, go.opentelemetry.io/otel/baggage is affected in releases prior to 1.47.0. Upgrade your dependency to 1.47.0 or later.
Is go.opentelemetry.io/otel/propagation affected?
Yes, go.opentelemetry.io/otel/propagation is affected in releases prior to 1.47.0. Upgrade your dependency to 1.47.0 or later.
What is the CVSS score of CVE-2026-128086?
CVE-2026-128086 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2026-128086?
CVE-2026-128086 is classified under CWE-405: Asymmetric Resource Consumption (Amplification) (The product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authorization, i.e., the adversary's influence is "asymmetric.").
How can I check Go dependencies for CVE-2026-128086?
Run the dependency tree command: 'inspect dependencies for go.opentelemetry.io/otel/baggage'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rrfc-gjm9-cgrj",
  "modified" : "2026-11-13T19:08:10Z",
  "published" : "2026-11-13T19:08:10Z",
  "aliases" : [ "CVE-2026-128086" ],
  "summary" : "OpenTelemetry-Go: Eager W3C baggage-property materialization causes bounded memory-allocation amplification",
  "details" : "## Summary\n\nOpenTelemetry Go eagerly materializes W3C baggage metadata into property objects during parsing. Slice growth, serialization, and copying into the internal representation cause **bounded but disproportionate memory-allocation amplification** for a valid, densely populated header. In v1.46.0 and v1.47.0-rc.1, the 8,192-byte raw-input limit is checked before member parsing; this is not unlimited allocation or a bypass of that limit.\n\nA valid 8,191-byte value containing one member and 4,094 properties causes approximately 778 KB of cumulative allocation per parse. A corrected measurement with forced garbage collection before and after parsing retains approximately 164 KB per result while it remains live. These are different metrics: approximately 95 times the input in allocation traffic versus approximately 20 times in incremental live heap in the measured environment.\n\nThe relevant security configuration is a service that enables Baggage propagation and extracts attacker-controlled inbound context before authentication or on a public route. Concurrent or sustained requests can increase allocation and GC pressure. The evidence establishes allocation amplification, but does not establish reliable OOM, process termination, or complete denial of service.\n\nThis is a **pre-existing, independent allocation-amplification path not addressed by GHSA-5wrp-cwcj-q835 / CVE-2026-41178**. It predates that advisory; it is not described as having been introduced by its fix.\n\n## Affected module, versions, and symbols\n\n- Go module: `go.opentelemetry.io/otel`.\n- Import paths and entry points: `go.opentelemetry.io/otel/baggage.Parse` and `go.opentelemetry.io/otel/propagation.Baggage.Extract`.\n- Implementation: `parseMember`, property-slice growth and serialization, and conversion into `internal/baggage.Item`.\n- Source history places the eager-property implementation at commit `4bf6150fa94e18bdf01c96ed78ee6d1c76f8e308`, first included in `v1.0.0-RC1`; the stable release line starts at `v1.0.0`.\n- Affected release range: `>= 1.0.0-RC1, < 1.47.0`.\n- Patched release: `v1.47.0` (https://github.com/open-telemetry/opentelemetry-go/pull/9024), which validates and normalizes W3C property metadata in place during `Parse` and materializes `Property` structs lazily only when `Member.Properties()` is explicitly called.\n- Small parser measurements were run on `v1.0.0-RC1`, `v1.0.0`, `v1.46.0`, and `v1.47.0-rc.1`; this is not a claim to have dynamically tested every intervening release. The v1.46.0 and v1.47.0-rc.1 parser source is identical to the inspected main commit `901e812ec023f45f791cd4d49cfbbef353ae21ae`.\n\nEarly releases have a 4,096-byte per-member limit. They reproduce the same mechanism with a 4,095-byte member containing 2,046 properties; the 8,191-byte single-member input is rejected there. The 8 KB example and its numerical allocation result must not be projected onto every historical version.\n\n## Root cause and input bounds\n\nFor the valid dense input, each short property becomes a Go `Property`, and the slice grows as parsing proceeds. The parser subsequently serializes the member and copies its properties into the internal representation. A two-byte wire fragment can therefore produce substantially more than two bytes of allocation work. Temporary parser objects and internal retained objects must not be added together and described as permanently retained memory.\n\nIn the currently measured parser, the raw 8,192-byte limit and 64-member limit still apply. The number of accepted properties is consequently bounded by input length even though there is no separate property-count guard. **Eager representation and copying are the defect described here; the absence of an arbitrary count cap is not, by itself, the defect.**\n\nThe primary input is constructed as `\"k=v\" + strings.Repeat(\";a\", 4094)` (8,191 bytes); the equal-size value-only control is `\"k=\" + strings.Repeat(\"v\", 8189)`. Call `baggage.Parse` once for each measured result. To verify the property count separately, inspect `bag.Members()[0].Properties()` outside the measured interval; this accessor itself allocates. The primary example remains the valid 8,191-byte, 4,094-property input already supplied in this private report. Empty-property input discussed in the maintainer review is malformed and is supplementary parser-hardening evidence, not the standards-compliant primary example or the basis of the severity score.\n\n## HTTP reachability and authentication ordering\n\nThe Go global propagator is initially a no-op. Installing the library alone does not expose this path. Baggage must be enabled explicitly or by applicable auto-configuration; standardized auto-configuration defaults do not establish an individual application's configuration.\n\nAn ordinary HTTP composition can place `otelhttp.NewHandler` outside the authentication handler. With `propagation.Baggage{}` enabled and the request not excluded by a filter, the checked `otelhttp` implementation calls `h.propagators.Extract(r.Context(), propagation.HeaderCarrier(r.Header))` before `next.ServeHTTP`. Authentication inside `next` therefore runs after extraction, including for a request that is ultimately rejected with 401/403. Reversing the composition so authentication rejects before entering `otelhttp` prevents this unauthenticated extraction path. This is a source-level ordering check of a normal integration, not a claim about all services or an executed HTTP benchmark.\n\nSource checked: [otelhttp handler at ce138eb092f223e4e41e0420c58fc34910bc2b56, extraction at line 98 and downstream handler at line 185](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/ce138eb092f223e4e41e0420c58fc34910bc2b56/instrumentation/net/http/otelhttp/handler.go#L98). A filter that bypasses instrumentation takes a separate path and is outside this stated composition.\n\nRemote reachability requires all of the following: Baggage extraction is enabled; attacker-controlled input reaches it; the transport and proxy accept the relevant header size; and extraction runs before authentication or on a public route. Material service impact further depends on request rate, concurrency, request lifetime, GC behavior, and resource limits. Authentication is a mitigation only if it precedes extraction. A path that requires a properly authenticated triggering client must also be evaluated under the project's authenticated-client DoS exclusion.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "go.opentelemetry.io/otel/baggage"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0-RC1"
      }, {
        "fixed" : "1.47.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "go.opentelemetry.io/otel/propagation"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0-RC1"
      }, {
        "fixed" : "1.47.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-rrfc-gjm9-cgrj"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-go/pull/9024"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-go/commit/f09d1de32f4ac7e5ef16394533721106b1a57b89"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/open-telemetry/opentelemetry-go"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.47.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-405" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-13T19:08:10Z",
    "nvd_published_at" : null
  }
}