# CVE-2026-41173: Unbounded HTTP response body read in OpenTelemetry.Sampler.AWS

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-04-23T18:22:31.771Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-28xm-prxc-5866
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- open-telemetry opentelemetry-dotnet-contrib: < 0.1.0-alpha.8
- OpenTelemetry.Sampler.AWS (NuGet): before 0.1.0-alpha.8
- OpenTelemetry.Resources.AWS (NuGet): before 1.15.1

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-28xm-prxc-5866> (web)
- <https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4100> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41173> (advisory)
- <https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4122> (web)
- <https://github.com/open-telemetry/opentelemetry-dotnet-contrib> (package)

## Sources

- CVE List: [CVE-2026-41173](https://www.cve.org/CVERecord?id=CVE-2026-41173), CVE Terms of Use, modified 2026-04-23
- GitHub Advisory Database: [GHSA-28xm-prxc-5866](https://github.com/advisories/GHSA-28xm-prxc-5866), CC-BY-4.0, modified 2026-04-23
- NVD: [CVE-2026-41173](https://nvd.nist.gov/vuln/detail/CVE-2026-41173), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41173 · Whole record: https://cve.day/CVE-2026-41173.json · Rebuilt by cve.day 2026-11-25T22:59:19.406Z
