CVE-2026-40182: OpenTelemetry dotnet: OTLP exporter reads unbounded HTTP response bodies

CVE-2026-40182 · Severity: medium · CVSS 5.3 · Published 2026-04-23

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.

Technologies: OpenTelemetry.Exporter.OpenTelemetryProtocol (NuGet), Opentelemetry. Vendors: NuGet, Opentelemetry.

Quick answers

Is CVE-2026-40182 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-40182 being exploited in the wild.
How severe is CVE-2026-40182?
Medium severity, with a CVSS score of 5.3, published 23 April 2026.
Which products and versions are affected?
OpenTelemetry.Exporter.OpenTelemetryProtocol (NuGet) >= 1.13.1, < 1.15.2, ECOSYSTEM:introduced=1.13.1,fixed=1.15.2.
Is there a fix for CVE-2026-40182?
Yes. OpenTelemetry.Exporter.OpenTelemetryProtocol (NuGet): upgrade to 1.15.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-40182?
Check whether you run OpenTelemetry.Exporter.OpenTelemetryProtocol (NuGet) or Opentelemetry at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • OpenTelemetry.Exporter.OpenTelemetryProtocol (NuGet): upgrade to 1.15.2 or later
    dotnet add package OpenTelemetry.Exporter.OpenTelemetryProtocol --version 1.15.2

Affected products

  • OpenTelemetry.Exporter.OpenTelemetryProtocol (NuGet) >= 1.13.1, < 1.15.2, ECOSYSTEM:introduced=1.13.1,fixed=1.15.2
  • Opentelemetry

Identifiers

  • CVE-2026-40182
  • GHSA-q834-8qmm-v933

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.