Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. OpenTelemetry.Exporter.OpenTelemetryProtocol
  4. ›
  5. CVE-2026-42191

CVE-2026-42191: OpenTelemetry's disk retry default temp path enables local blob injection via OTLP Exporter

April 30, 2026

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 exposed three attack surfaces:

  • Blob injection (integrity): an attacker could write crafted *.blob files into the predictable path; the exporter picks them up on the next retry cycle and forwards them to the configured OTLP endpoint under the application’s identity.
  • Telemetry disclosure (confidentiality): an attacker reads *.blob files written by the application between export failures, recovering encoded telemetry payloads (spans, metric data points, log records).
  • Resource exhaustion (availability): an attacker deposits numerous or oversized blob files, degrading retry-loop performance or consuming disk space.

References

  • github.com/advisories/GHSA-4625-4j76-fww9
  • github.com/open-telemetry/opentelemetry-dotnet
  • github.com/open-telemetry/opentelemetry-dotnet/commit/78dffdc5ebdf3dc090fdb94e3f1a32d3d1e26dfd
  • github.com/open-telemetry/opentelemetry-dotnet/pull/7106
  • github.com/open-telemetry/opentelemetry-dotnet/security/advisories/GHSA-4625-4j76-fww9
  • nvd.nist.gov/vuln/detail/CVE-2026-42191

Code Behaviors & Features

Detect and mitigate CVE-2026-42191 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.8.0 before 1.15.3

Fixed versions

  • 1.15.3

Solution

Upgrade to version 1.15.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-379: Creation of Temporary File in Directory with Insecure Permissions

Source file

nuget/OpenTelemetry.Exporter.OpenTelemetryProtocol/CVE-2026-42191.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:50 +0000.