Skip to content

fix(deps): opentelemetry 1.45.1 and gitpython 3.2.1 clear two advisories that fail every devops ci audit #1899

Closed

Description

@dan-petty

Friction

Every uv run devops ci fails its audit row since 2026-10-22 16:22 UTC, so no pull request passes the pre-push gate. uv audit reports two advisories that were published on that day for locked packages:

  • GHSA-xcq7-p3pf-p88h ("OpenTelemetry Python: Unbounded tracestate parsing in opentelemetry-api"), severity medium, for opentelemetry-api 1.44.0. It covers every version up to 1.45.0. The first patched version is 1.45.1.
  • GHSA-83vg-56qc-22m7 ("GitPython validates a submodule's .git path only after cloning into it (RCE)"), severity high, for gitpython 3.2.0. It covers every version up to 3.2.0. The first patched version is 3.2.1.

Evidence

  • uv audit in the gate: opentelemetry-api 1.44.0 has 1 known vulnerability: GHSA-xcq7-p3pf-p88h, then, with that package fixed, gitpython 3.2.0 has 1 known vulnerability: GHSA-83vg-56qc-22m7, and Dependency audit found vulnerabilities (uv audit exited 1).
  • pyproject.toml pins opentelemetry-api==1.44.0, opentelemetry-exporter-otlp-proto-grpc==1.44.0, logfire==5.1.0 and gitpython==3.2.0. opentelemetry-sdk 1.45.1 requires opentelemetry-api==1.45.1 and opentelemetry-semantic-conventions==0.66b1, so the OpenTelemetry family moves together. logfire 5.1.0 requires opentelemetry-sdk<1.45.0; logfire 5.2.0 allows <1.46.0.

Proposed remedy

Pin opentelemetry-api and opentelemetry-exporter-otlp-proto-grpc at 1.45.1, logfire at 5.2.0 and gitpython at 3.2.1, and update the lock for the OpenTelemetry family (core 1.45.1, contrib 0.66b1). Correct the versions that the knowledge base names.

Tests

The audit row of uv run devops ci passes. The existing telemetry and git tests pass on the new versions.

Acceptance criteria

  • uv audit reports no known vulnerability.
  • uv run devops ci passes.

Activity

  1. added
    source/agent
    type/security
    on Oct 22, 2026
  2. dan-petty commented on Oct 22, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.

    • Type: type/security. The fix addresses a known vulnerability in the OpenTelemetry dependency.
    • Priority: P1-High. The issue blocks all CI checks and prevents pull requests from merging. The advisory GHSA-xcq7-p3pf-p88h does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 on the board.
    • Value: High. Fixing the vulnerability improves security for all users of the project.
    • Effort: Medium. Updating dependencies and checking compatibility requires moderate work.
  3. added this to the v0.2.39 milestone on Oct 22, 2026
  4. changed the title [-]fix(deps): opentelemetry 1.45.1 clears GHSA-xcq7-p3pf-p88h, which fails every devops ci audit[/-] [+]fix(deps): opentelemetry 1.45.1 and gitpython 3.2.1 clear two advisories that fail every devops ci audit[/+] on Oct 22, 2026
  5. added
    status/in-progress
    on Oct 22, 2026
  6. added a commit that references this issue on Oct 22, 2026
    6ce0722
  7. dan-petty commented on Oct 22, 2026

    @dan-petty
    OwnerAuthor

    What changed

    #1900, merged into release/v0.2.39 as 6ce0722.

    Summary

    Two advisories that were published on 2026-10-22 fail the audit row of every uv run devops ci. So no pull request into release/v0.2.39 can pass its pre-push gate. #1892 is the first one that this stopped.

    • GHSA-xcq7-p3pf-p88h (medium): unbounded tracestate parsing in opentelemetry-api <= 1.45.0. The fix is 1.45.1.
    • GHSA-83vg-56qc-22m7 (high): GitPython <= 3.2.0 checks a submodule's .git path only after the clone. The fix is 3.2.1.

    Changes:

    • pyproject.toml: opentelemetry-api and opentelemetry-exporter-otlp-proto-grpc 1.45.1, logfire 5.2.0 and gitpython 3.2.1. logfire 5.1.0 requires opentelemetry-sdk<1.45.0, so the lock cannot resolve without 5.2.0.
    • uv.lock: the OpenTelemetry core packages move to 1.45.1 and the contrib packages to 0.66b1. Two new OpenTelemetry packages, opentelemetry-exporter-http-transport and opentelemetry-exporter-otlp-common 0.66b1, are dependencies of the new exporters. No other package moves.
    • The knowledge base names the new versions.

    Verification: uv audit finds no known vulnerability in 232 packages. uv lock --check passes. The telemetry tests pass (149 passed, 1 skipped). The pre-push uv run devops ci passed.

    Fail-to-pass: not applicable: the pull request changes dependencies, not tests. The failing check is the audit row of devops ci, which reads advisories from the network.


    7 file(s) changed.

    How it was verified

    Check runs at f0267b2:

    • Prune PR DevContainer Images: pass
    • Audit Defect PR Hardening: skipping
    • devops-cli: pass
    • zizmor: pass
    • bandit: pass
    • CodeQL: pass
    • Rule Pack Tests: pass
    • Fail-to-Pass Self-Check: pass
    • Changed-Test Independence: pass
    • Tests & Coverage: pass
    • Analyze (python): pass
    • Fail-to-Pass Check: pass
    • Analyze (actions): pass
    • Static Analysis: pass
    • DevContainer Image: skipping
    • Service Image: skipping
    • Dependency Freshness: skipping

    Acceptance Criteria of docs/agent/tasks/task-1899-opentelemetry-gitpython-advisories.md:

    • uv audit at the branch reports no known vulnerability, and uv lock --check passes.
    • The telemetry tests pass on the new versions (tests/test_telemetry*.py, tests/test_third_party_telemetry.py, tests/test_ai_client_telemetry.py, tests/test_rag_query_telemetry.py, tests/test_kb_manuals_metadata.py: 149 passed, 1 skipped). The LogfireNotConfiguredWarning that tests/test_telemetry_logfire.py shows also appears with logfire 5.1.0.
    • uv run devops ci passes (pre-push hook).
  8. added a commit that references this issue on Oct 23, 2026
    f209f6c
  9. removed
    status/in-progress
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    source/agenttype/security

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions