Description
OpenTelemetry.Exporter.OpenTelemetryProtocol is the OTLP (OpenTelemetry Protocol) exporter implementation. From 1.8.0 to 1.15.2, the OTLP disk retry feature in OpenTelemetry.Exporter.OpenTelemetryProtocol silently fell back to Path.GetTempPath() when OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY=disk was set but OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_DIRECTORY_PATH was not configured. The exporter stored and loaded *.blob files under fixed, signal-named subdirectories (traces, metrics, logs) beneath that shared temporary root path. On multi-user systems where the temporary directory is accessible to other local accounts, this allows an attacker to write crafted *.blob files, read *.blob files written by the application between export failures, or deposit numerous or oversized blob files, degrading retry-loop performance or consuming disk space. This vulnerability is fixed in 1.15.3.
Published: 2026-05-12
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenTelemetry.Exporter.OpenTelemetryProtocol enables a disk‑retry mechanism that, when misconfigured, writes telemetry data to a subdirectory under the system temporary folder. If the experimental retry directory is not explicitly set, the exporter defaults to the shared temp path returned by Path.GetTempPath(). On systems where the temp folder is world‑writeable, an attacker can deposit crafted *.blob files, read blobs produced by the application, or fill the directory with oversized files, leading to information disclosure and denial‑of‑service due to disk space exhaustion. The weakness is a cache‑path selection flaw listed as CWE‑379.

Affected Systems

This defect affects the OpenTelemetry .NET OTLP exporter library delivered as the open-telemetry:opentelemetry-dotnet package. Versions from 1.8.0 through 1.15.2 are vulnerable. The issue was resolved in version 1.15.3, which correctly honours the OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_DIRECTORY_PATH setting and avoids using the generic temp path when it is not supplied.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a local user with write access to the system temp directory and awareness of the OTLP exporter’s behaviour, making it an environment‑dependent attack. In multi‑user deployments where the temporary folder is shared and unsecured, an attacker could inject blob files that are later read by the exporter, potentially allowing the read of another user’s export data or causing a denial of service by exhausting disk space. Because EPSS is not available, the likelihood of exploitation remains uncertain but could be significant in environments with misconfigured temp‑directory permissions.

Generated by OpenCVE AI on May 12, 2026 at 21:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the OpenTelemetry.Exporter.OpenTelemetryProtocol library to version 1.15.3 or later, which applies the correction.
  • If an upgrade cannot be performed immediately, configure the OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_DIRECTORY_PATH environment variable to point to a directory owned by the application and inaccessible to other local users, or disable disk retry by setting OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY to a non‑disk value.
  • Ensure that the system temporary directory has restrictive permissions so that only the application’s user can write to it.

Generated by OpenCVE AI on May 12, 2026 at 21:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4625-4j76-fww9 OpenTelemetry's disk retry default temp path enables local blob injection via OTLP Exporter
History

Wed, 13 May 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 12 May 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Opentelemetry
Opentelemetry opentelemetry-dotnet
Vendors & Products Opentelemetry
Opentelemetry opentelemetry-dotnet

Tue, 12 May 2026 19:30:00 +0000

Type Values Removed Values Added
Description OpenTelemetry.Exporter.OpenTelemetryProtocol is the OTLP (OpenTelemetry Protocol) exporter implementation. From 1.8.0 to 1.15.2, the OTLP disk retry feature in OpenTelemetry.Exporter.OpenTelemetryProtocol silently fell back to Path.GetTempPath() when OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY=disk was set but OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_DIRECTORY_PATH was not configured. The exporter stored and loaded *.blob files under fixed, signal-named subdirectories (traces, metrics, logs) beneath that shared temporary root path. On multi-user systems where the temporary directory is accessible to other local accounts, this allows an attacker to write crafted *.blob files, read *.blob files written by the application between export failures, or deposit numerous or oversized blob files, degrading retry-loop performance or consuming disk space. This vulnerability is fixed in 1.15.3.
Title OpenTelemetry.Exporter.OpenTelemetryProtocol: Disk retry default temp path enables local blob injection for OTLP Exporter
Weaknesses CWE-379
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L'}


Subscriptions

Opentelemetry Opentelemetry-dotnet
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-13T14:16:18.810Z

Reserved: 2026-04-25T01:53:21.583Z

Link: CVE-2026-42191

cve-icon Vulnrichment

Updated: 2026-05-13T14:16:12.589Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-12T20:16:41.000

Modified: 2026-05-13T18:16:44.010

Link: CVE-2026-42191

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-12T22:45:15Z

Weaknesses