Skip to content

Patch CVE-2026-126360 and CVE-2026-128089 in locked deps - #31

Merged
zsmithnyc merged 2 commits into
mainfrom
security/otel-dnspython-cve-patch
Nov 27, 2026
Merged

zsmithnyc merged 2 commits into
mainfrom
security/otel-dnspython-cve-patch

Conversation

@zsmithnyc

Copy link
Copy Markdown
Collaborator

Summary

  • pip-audit found two known CVEs in the locked dependency tree that GitHub's Dependabot alerts had not yet flagged:
    • CVE-2026-126360 (opentelemetry-api 1.45.1, moderate): ReDoS in TraceContextTextMapPropagator.extract() on malformed traceparent values. Real exposure here since the API has OTel tracing wired in and extracts trace context from inbound requests.
    • CVE-2026-128089 (dnspython 2.9.0, via email-validator): memory-exhaustion DoS from malformed DNS WKS records. Lower real exposure (email-validator doesn't parse zone files), but a free fix.
  • Bumped dnspython to 2.9.2 and the whole opentelemetry-api/sdk/exporter family to the matching 1.45.2 / 0.66b2 release train (uv resolved these together; the family is version-locked upstream).

Test plan

  • pip-audit -r requirements.txt reports 0 known vulnerabilities
  • Full test suite passes (41 passed) against a fresh Postgres instance

🤖 Generated with Claude Code

zsmithnyc and others added 2 commits November 27, 2026 07:57
Bumps opentelemetry-api/sdk/exporter family 1.45.1->1.45.2 /
0.66b1->0.66b2 (ReDoS in traceparent extraction, CVE-2026-126360 -
real exposure since the API extracts trace context from inbound
requests) and dnspython 2.9.0->2.9.2, pulled in transitively via
email-validator (memory-exhaustion DoS parsing malformed DNS
records, CVE-2026-128089). Neither was yet flagged by GitHub's
Dependabot alerts.

Verified with pip-audit (0 known vulnerabilities) and the full test
suite (41 passed) against a fresh Postgres instance.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@zsmithnyc
zsmithnyc merged commit 670c3d6 into main Nov 27, 2026
3 checks passed
@zsmithnyc
zsmithnyc deleted the security/otel-dnspython-cve-patch branch November 27, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant