CVE-2026-41173
The AWS X-Ray Remote Sampler package provides a sampler which can …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4100
- github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-28xm-prxc-
- nvd.nist.gov/vuln/detail/CVE-2026-41173
- github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4122
- github.com/advisories/GHSA-28xm-prxc-5866
- nvd.nist.gov/vuln/detail/CVE-2026-41173
- cve.org/CVERecord?id=CVE-2026-41173
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.