CVE-2026-41173open-telemetry opentelemetry-dotnet-contrib
Medium 5.9 No auth needed
Follow: this CVE · open-telemetry · open-telemetry opentelemetry-dotnet-contrib We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- Apr 23, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
The AWS X-Ray Remote Sampler package provides a sampler which can get sampling configurations from AWS X-Ray. Prior to 0.1.0-alpha.8, OpenTelemetry.Sampler.AWS reads unbounded HTTP response bodies from a configured AWS X-Ray remote sampling endpoint into memory. AWSXRaySamplerClient.DoRequestAsync called HttpClient.SendAsync followed by ReadAsStringAsync(), which materializes the entire HTTP response body into a single in-memory string with no size limit. The sampling endpoint is configurable via AWSXRayRemoteSamplerBuilder.SetEndpoint (default: http://localhost:2000). An attacker who controls the configured endpoint, or who can intercept traffic to it (MitM), can return an arbitrarily large response body. This causes unbounded heap allocation in the consuming process, leading to high transient memory pressure, garbage-collection stalls, or an OutOfMemoryException that terminates the process. This vulnerability is fixed in 0.1.0-alpha.8.
What to do
- Apply the vendor's security update for opentelemetry-dotnet-contrib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | OpenTelemetry.Resources.AWS |
< 1.15.1 |
1.15.1 |
dotnet add package OpenTelemetry.Resources.AWS --version 1.15.1 |
| NuGet | OpenTelemetry.Sampler.AWS |
< 0.1.0-alpha.8 |
0.1.0-alpha.8 |
dotnet add package OpenTelemetry.Sampler.AWS --version 0.1.0-alpha.8 |
Per OSV / GitHub Advisories (GHSA-28xm-prxc-5866). Check the version in your lockfile before upgrading.
Affected products
- open-telemetry · opentelemetry-dotnet-contrib
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.