Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-112006 Overview
CVE-2026-112006 is an improper certificate validation vulnerability [CWE-295] in the OpenTelemetry Python package opentelemetry-exporter-otlp-proto-http. Versions 1.5.0 through 1.44.x disable TLS verification when the OTEL_EXPORTER_OTLP_CERTIFICATE environment variable is set to an empty string. The exporter treats the empty value as a valid certificate path and silently falls back to unverified HTTPS requests. Attackers positioned on the network can impersonate the OTLP collector, intercept exported traces, metrics, and logs, and harvest sensitive headers passed via OTEL_EXPORTER_OTLP_HEADERS, including bearer tokens and API keys.
Critical Impact
Man-in-the-middle attackers can decrypt and modify telemetry data in transit and steal authentication headers used to authenticate against observability backends.
Affected Products
- opentelemetry-exporter-otlp-proto-http versions 1.5.0 through 1.44.0
- OpenTelemetry Python SDK deployments relying on the HTTP/Protobuf OTLP exporter
- Applications setting OTLP certificate environment variables from potentially empty configuration sources
Discovery Timeline
- 2026-10-18 - CVE-2026-112006 published to the National Vulnerability Database (NVD)
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-112006
Vulnerability Analysis
The OpenTelemetry Python HTTP exporter reads the OTEL_EXPORTER_OTLP_CERTIFICATE, OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE, and OTEL_EXPORTER_OTLP_CLIENT_KEY environment variables to configure TLS trust and client authentication. When a deployment pipeline resolves these variables to empty strings, for example through unset Kubernetes ConfigMap keys or templated Helm values, the exporter interprets the empty value as a non-null path.
The underlying requests.Session call then invokes session.post(url, verify=""), which the requests library treats as a falsy value and disables certificate verification entirely. The exporter proceeds to send OTLP payloads over HTTPS without validating the server certificate chain or hostname. Traces, metrics, logs, and any configured OTLP headers travel to whichever endpoint responds at the configured URL.
Root Cause
The root cause is missing input validation on certificate-related environment variables. The exporter does not distinguish between an unset variable, a non-existent file path, and an empty string. Secure defaults are only applied when the variable is None, not when it is an empty string.
Attack Vector
An attacker on the network path between the instrumented application and the OTLP collector can present any TLS certificate, including a self-signed one. The exporter accepts the connection, delivers telemetry, and transmits authentication headers from OTEL_EXPORTER_OTLP_HEADERS to the attacker-controlled endpoint. The attacker can then replay those credentials against the real collector or an observability SaaS backend.
# Patch excerpt from commit 89cc68b9ea7
./shim/opentelemetry-opencensus-shim
./shim/opentelemetry-opentracing-shim
./exporter/opentelemetry-exporter-otlp-proto-common
-./exporter/opentelemetry-exporter-otlp-proto-http
+./exporter/opentelemetry-exporter-otlp-proto-http[requests]
./exporter/opentelemetry-exporter-otlp-proto-grpc
Source: GitHub Commit 89cc68b9ea7
Detection Methods for CVE-2026-112006
Indicators of Compromise
- OTLP HTTPS connections from application pods to IP addresses or hostnames that do not match the sanctioned collector endpoint
- TLS handshakes to the OTLP collector presenting unexpected or self-signed certificates
- Environment variables OTEL_EXPORTER_OTLP_CERTIFICATE or OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE resolving to empty strings at runtime
- Observability backend logs showing authentication from unexpected source IPs using tokens from OTEL_EXPORTER_OTLP_HEADERS
Detection Strategies
- Inventory installed Python packages across build artifacts and running containers for opentelemetry-exporter-otlp-proto-http versions 1.5.0 to 1.44.x
- Audit runtime environment variables in container specs and systemd units for empty OTLP certificate values
- Capture and inspect TLS certificates presented on egress traffic to OTLP endpoints to confirm issuer and SAN match the collector
Monitoring Recommendations
- Alert on egress HTTPS traffic from application workloads to any destination other than the approved OTLP collector FQDN
- Log and review the resolved values of OTLP environment variables at application startup
- Rotate and monitor the API tokens configured in OTEL_EXPORTER_OTLP_HEADERS for use from unexpected source addresses
How to Mitigate CVE-2026-112006
Immediate Actions Required
- Upgrade opentelemetry-exporter-otlp-proto-http to version 1.45.0 or later across all Python services
- Audit configuration sources, including Helm charts, Kubernetes manifests, and .env files, for empty OTEL_EXPORTER_OTLP_CERTIFICATE values
- Rotate any bearer tokens, API keys, or basic-auth credentials previously transmitted via OTEL_EXPORTER_OTLP_HEADERS
- Enforce network policies that restrict OTLP egress to the sanctioned collector endpoint only
Patch Information
The fix is included in GitHub Release v1.45.0 of the OpenTelemetry Python distribution. The resolution is tracked in GitHub Commit 89cc68b9ea7. Additional details are published in the VulnCheck Advisory for OTLP.
Workarounds
- Unset OTEL_EXPORTER_OTLP_CERTIFICATE, OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE, and OTEL_EXPORTER_OTLP_CLIENT_KEY rather than leaving them as empty strings
- Explicitly pass a valid CA bundle path to the exporter via code configuration instead of relying on environment variables
- Terminate OTLP TLS at a trusted sidecar or service mesh proxy that enforces certificate validation independently
# Pin a patched version in requirements.txt
opentelemetry-exporter-otlp-proto-http>=1.45.0
# Verify no empty certificate variables are injected
env | grep OTEL_EXPORTER_OTLP_ | grep -E '=$' && echo 'EMPTY OTLP VAR DETECTED'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

