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

Medium 5.3 Published Updated

An attacker can cause memory exhaustion in applications using OpenTelemetry dotnet by returning large error responses from a compromised or MitM'd telemetry backend.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-40182?

CVE-2026-40182 is a medium-severity denial of service vulnerability in open-telemetry opentelemetry-dotnet, published on 23 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-789

Which versions are affected by CVE-2026-40182?

2 open source packages ship an affected version, including OpenTelemetry.Exporter.OpenTelemetryProtocol. It affects 1 product.

PackageAffectedFixed in
OpenTelemetry.Exporter.OpenTelemetryProtocol NuGetFrom 1.13.11.15.2
OpenTelemetry.Exporter.OpenTelemetryProtocol NuGetFrom 1.13.11.15.2

Products include Opentelemetry Opentelemetry.

How do I fix CVE-2026-40182?

Upgrade OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.15.2 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-40182 being exploited?

There is no known exploitation of CVE-2026-40182 in the wild and no public exploit code.

Sources

Also known as GHSA-q834-8qmm-v933, MINI-69f7-p9h3-5xwr.

Is CVE-2026-40182 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free