CVE-2026-126360: OpenTelemetry Python: Denial of service through quadratic-time traceparent parsing in opentelemetry-api

Published Nov 12, 2026
·
Updated

OpenTelemetry Python provides the Python API and SDK for OpenTelemetry. Prior to 1.45.2, TraceContextTextMapPropagator.extract() in opentelemetry-api can perform quadratic-time regular-expression backtracking on a malformed traceparent value containing a trace-context prefix, a long whitespace sequence, and an embedded newline. Exploitation requires an attacker-controlled carrier that preserves embedded newlines and permits a sufficiently large value, because conforming HTTP header values cannot contain embedded newlines. JSON-based carriers, including applicable MCP request metadata integrations, can preserve the required newline depending on the SDK, instrumentation, and message-size limits. Parsing on an asynchronous server's event-loop thread can consume excessive CPU and delay unrelated requests, while the advisory does not establish disclosure, modification, or code execution. This issue is fixed in version 1.45.2.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade opentelemetry-api to a version that resolves this vulnerability.

    Fixed in 1.45.2

Event History

Nov 12, 2026
CVE Published
via MITRE·10:24 PM
Data Sourced
via MITRE·10:24 PM
DescriptionSeverityWeakness
Nov 13, 2026
Data Sourced
via NVD·12:20 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed to this denial-of-service condition?

Deployments are exposed when they use opentelemetry-api before 1.45.2 and accept attacker-controlled propagation carriers that preserve embedded newlines and allow sufficiently large values. JSON-based carriers, including applicable MCP request metadata integrations, may meet these conditions depending on the SDK, instrumentation, and message-size limits.

2

Can a malicious standard HTTP traceparent header trigger the issue?

Conforming HTTP header values cannot contain embedded newlines, so a standard conforming HTTP header does not provide the required input. Exploitation depends on a carrier that retains an embedded newline.

3

What is the operational impact if exploitation succeeds?

A malformed traceparent can cause quadratic-time regular-expression backtracking during extraction, consuming excessive CPU. If parsing runs on an asynchronous server event-loop thread, unrelated requests can be delayed; the advisory does not establish data disclosure, modification, or code execution.

4

What remediation is identified?

Upgrade opentelemetry-api to version 1.45.2, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203