Skip to main content

OpenTelemetry dotnet CVE-2026-40894

| EUVDEUVD-2026-25269 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-04-23 GitHub_M GHSA-g94r-2vxg-569j
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send HTTP request with malformed oversized propagation header
  2. Delivery
    OpenTelemetry propagator Extract() invoked on inbound request
  3. Exploit
    Intermediate array allocated proportional to raw input before size checks
  4. Execution
    Memory exhaustion in application heap
  5. Impact
    Application availability degraded or process crashes

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

The consuming .NET application must have OpenTelemetry distributed tracing configured and must be actively using one or more of the vulnerable propagators - BaggagePropagator (W3C Baggage header), B3Propagator (B3 single or multi-header format), or JaegerPropagator (Jaeger uber-trace-id header) - in the inbound request processing pipeline. The vulnerable code path is triggered during Extract() calls on inbound HTTP requests, meaning the application must be receiving HTTP traffic that includes these propagation headers. Applications that only emit (inject) telemetry headers outbound are partially exposed via the BaggagePropagator.Inject() single-item bypass. Exploitation is limited to applications that process propagation headers from untrusted external callers; internal service meshes where all callers are trusted and controlled are at negligible risk. HTTP servers that enforce maximum header length limits (IIS, nginx, Apache) before the request reaches application code provide an effective compensating control that eliminates the remote attack vector.

Impact

CVSS 5.3 (Medium) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L indicates network-reachable, unauthenticated, low-complexity exploitation with partial availability impact - a technically plausible DoS profile. However, EPSS at 0.02% (6th percentile) and SSVC exploitation status of 'none' strongly suggest this vulnerability has not attracted attacker interest and no functional exploit is publicly known. SSVC flags it as Automatable:yes because a single crafted request can trigger the condition without human interaction, which is a valid concern for automated scanning or high-volume attack scenarios. The Technical Impact is assessed as 'partial' given the scope is limited to availability of the consuming application only. The practical risk is highest for applications that expose OpenTelemetry propagation header processing to untrusted external HTTP traffic - for example, public-facing microservices using the W3C Baggage, B3, or Jaeger propagation formats. Internal-only deployments or those behind HTTP servers with strict header size limits (such as IIS, which enforces limits by default) face substantially reduced exposure. No conflict between CVSS signals and description is detected; AV:N is appropriate because the attack arrives via HTTP request headers.

Exploit ScenarioDerived

An external attacker sends HTTP requests to a public-facing .NET microservice that has OpenTelemetry distributed tracing configured with Baggage, B3, or Jaeger propagation. The requests contain crafted propagation headers consisting of large numbers of delimiter characters (e.g., commas in a baggage header), causing BaggagePropagator.Extract() or B3Propagator.Extract() to allocate memory far exceeding the header payload size before any size limit is checked. Repeated requests exhaust the application's heap, degrading or crashing the service. No public exploit code is known at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Uncontrolled memory allocation in OpenTelemetry dotnet's propagation header parsing exposes .NET applications to denial of service. OpenTelemetry.Api versions 0.5.0-beta.2 through 1.15.2 and OpenTelemetry.Extensions.Propagators versions 1.3.1 through 1.15.2 contain BaggagePropagator, B3Propagator, and JaegerPropagator implementations that eagerly allocate intermediate arrays before enforcing size limits, allowing malformed headers with excessive delimiter characters to trigger disproportionate memory consumption. No active exploitation is confirmed (not in CISA KEV), EPSS is extremely low at 0.02%, and a vendor-released patch exists at version 1.15.3.

RemediationAI

Upgrade both OpenTelemetry.Api and OpenTelemetry.Extensions.Propagators to version 1.15.3, which is the vendor-confirmed fixed release available at https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.15.3. For applications that cannot immediately upgrade, configure the hosting HTTP server to enforce strict request header size limits: IIS enforces a default maxRequestLength and can be tuned via the system.webServer configuration to reject oversized headers before they reach the propagation parsing layer, which eliminates the attack surface without requiring a code change. Nginx and Apache equivalents (large_client_header_buffers and LimitRequestFieldSize respectively) provide similar mitigation. Note that these server-level limits protect against the header-based vector but do not address any code paths where baggage is injected programmatically from internal sources. Consulting the GHSA advisory at https://github.com/open-telemetry/opentelemetry-dotnet/security/advisories/GHSA-g94r-2vxg-569j is recommended for full mitigating-control guidance from the maintainers.

Affected VersionsENISA

OpenTelemetry.Api 0.5.0-beta.2, < 1.15.3
OpenTelemetry.Extensions.Propagators 1.3.1, < 1.15.3
opentelemetry-dotnet 0.5.0-beta.2, < 1.15.3

Affected Packages

nuget opentelemetry.api fix: 1.15.3
nuget opentelemetry.extensions.propagators fix: 1.15.3
euvd opentelemetry_api_0_5_0_beta_2 fix: 1.15.3
euvd opentelemetry_dotnet_0_5_0_beta_2 fix: 1.15.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in nuget, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-789 (Uncontrolled Memory Allocation) describes this root cause precisely: the vulnerable code allocates memory proportional to the raw input size before applying configured length limits, meaning an attacker controls the allocation magnitude. The affected propagators - BaggagePropagator (in OpenTelemetry.Api), B3Propagator (in both OpenTelemetry.Api and OpenTelemetry.Extensions.Propagators), and JaegerPropagator (in OpenTelemetry.Extensions.Propagators) - implement the W3C Baggage, B3, and Jaeger distributed tracing header formats respectively. Specifically, BaggagePropagator.Extract() and Inject() allocate intermediate arrays eagerly (introduced via PR #1048), B3Propagator.Extract() in both packages allocates before validation (PRs #533 and #3244), and JaegerPropagator.Extract() exhibits the same pattern (PR #3309). Additionally, BaggagePropagator.Inject() bypasses the 8192-character limit entirely when only one baggage item is present. The CPE identifiers confirm three affected components: cpe:2.3:a:open-telemetry:opentelemetry-dotnet, cpe:2.3:a:open-telemetry:opentelemetry.api, and cpe:2.3:a:open-telemetry:opentelemetry.extensions.propagators.

Know when Opentelemetry Dotnet gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Network-delivered via HTTP headers, no auth required, no complexity beyond sending a crafted header; impact is availability only with no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

3
Patch released
Apr 28, 2026 - 19:34 nvd
Patch available
Patch available
Apr 23, 2026 - 20:31 EUVD
CVE Published
Apr 23, 2026 - 18:03 nvd
MEDIUM 5.3

DescriptionCVE.org

OpenTelemetry dotnet is a dotnet telemetry framework. In OpenTelemetry.Api 0.5.0-beta.2 to 1.15.2 and OpenTelemetry.Extensions.Propagators 1.3.1 to 1.15.2, The implementation details of the baggage, B3 and Jaeger processing code in the OpenTelemetry.Api and OpenTelemetry.Extensions.Propagators NuGet packages can allocate excessive memory when parsing which could create a potential denial of service (DoS) in the consuming application. This vulnerability is fixed in 1.15.3.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
Medium
widely used in .NET microservice observability but not universally deployed
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy