medium5.3
CVE-2026-40182
OpenTelemetry dotnet: OTLP exporter reads unbounded HTTP response bodies
Impact
OpenTelemetry dotnet is a dotnet telemetry framework. From 1.13.1 to before 1.15.2, When exporting telemetry to a back-end/collector over gRPC or HTTP using OpenTelemetry Protocol format (OTLP), if the request results in a unsuccessful request (i.e. HTTP 4xx or 5xx), the response is read into memory with no upper-bound on the number of bytes consumed. This could cause memory exhaustion in the consuming application if the configured back-end/collector endpoint is attacker-controlled (or a network attacker can MitM the connection) and an extremely large body is returned by the response. This vulnerability is fixed in 1.15.2.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| nuget | OpenTelemetry.Exporter.OpenTelemetryProtocol | >= 1.13.1, < 1.15.2 | 1.15.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Opentelemetry | Opentelemetry | from 1.13.1 before 1.15.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-q834-8qmm-v933
- https://github.com/open-telemetry/opentelemetry-dotnet/security/advisories/GHSA-q834-8qmm-v933
- https://nvd.nist.gov/vuln/detail/CVE-2026-40182
- https://github.com/open-telemetry/opentelemetry-dotnet/pull/6564
- https://github.com/open-telemetry/opentelemetry-dotnet/pull/7017
- https://github.com/open-telemetry/opentelemetry-proto/pull/781