Repository navigation
fix(deps): remediate 2026-11 FOSSA CVEs across all uv lockfiles (PRODEV-1942) - #2001
Merged
Merged
Conversation
…EV-1942) Upgrade vulnerable transitive/direct dependencies in all 7 uv.lock files in the FOSSA scan scope: aiohttp, anyio, idna, msgpack, multidict (<7), opentelemetry-* (api/sdk 1.45.2), pygments, pyjwt, requests, sqlparse, urllib3. Raise direct-dependency floors (anyio>=4.14.2, sqlparse>=0.6.1 in uipath-platform; pyjwt>=2.15.0 in uipath; mcp>=1.30.0 in the list-mcp-agent sample) and patch-bump uipath-platform to 0.3.11 and uipath to 2.15.3. opentelemetry-sdk 1.45 types ReadableSpan.get_span_context() as Optional, so narrow it explicitly and drop now-unused type ignores. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The lockfile pin does not protect PyPI consumers, since uipath-core still permits vulnerable OpenTelemetry versions that downstream upgrades can retain.
No open issues 🎉
What changed in this PR
Addresses the November FOSSA dependency findings in the UiPath Python SDK through targeted lockfile upgrades, higher dependency minimums, and OpenTelemetry typing adjustments.
Changes:
- Updates dependency pins, including the aligned OpenTelemetry package family.
- Raises selected dependency minimums and bumps
uipathanduipath-platformpatch versions. - Adds explicit missing-span-context handling and removes obsolete test type suppressions.
| File | Description |
|---|---|
packages/uipath/tests/evaluators/test_evaluator_helpers.py |
Removes four unused type-ignore comments. |
packages/uipath/src/uipath/eval/models/models.py |
Narrows optional span context during parent lookup. |
packages/uipath/samples/list-mcp-agent/pyproject.toml |
Raises the MCP dependency minimum. |
packages/uipath/samples/greeter/uv.lock |
Updates sample dependency pins. |
packages/uipath/pyproject.toml |
Bumps SDK version and platform/PyJWT minimums. |
packages/uipath-platform/uv.lock |
Updates dependencies and platform release metadata. |
packages/uipath-platform/src/uipath/platform/common/_span_utils.py |
Raises an explicit error for missing span context. |
packages/uipath-platform/pyproject.toml |
Bumps platform version and AnyIO/sqlparse minimums. |
packages/uipath-core/uv.lock |
Updates core dependency pins, including OpenTelemetry. |
Review effort: Balanced
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main (#1999) released uipath-platform 0.3.11, so move this PR's bump to 0.3.12 and raise uipath's floor on it accordingly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
al3xanndru
approved these changes
Nov 19, 2026
…942) opentelemetry-sdk pins opentelemetry-api to its own version, so raising the sdk floor keeps PyPI installs of uipath-core off the vulnerable opentelemetry-api 1.39.x-1.45.1 (PRODEV-1984, PRODEV-1985, PRODEV-2039). Bump uipath-core to 0.5.35 and raise its floor in uipath-platform and uipath. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
andreitava-uip
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Remediates all 15 open FOSSA findings (66 CVE entries) under epic PRODEV-1942. FOSSA scans the whole repo, so every
uv.lockin the scan scope is updated (3 packages + 4 samples).Changes
uv lock --upgrade-package ...in all 7 projects (no full re-lock).multidictcapped<7(fix is 6.9.1); the greeter sample was already on 7.x and is left as-is.opentelemetry-sdk>=1.45.2(uipath-core — the sdk pins opentelemetry-api to its own version);anyio>=4.14.2,sqlparse>=0.6.1(uipath-platform);pyjwt>=2.15.0(uipath);mcp>=1.30.0(samples/list-mcp-agent, which has no lockfile — FOSSA reports its lower bound).uipath-core>=0.5.35in uipath-platform and uipath,uipath-platform>=0.3.12in uipath.ReadableSpan.get_span_context()asSpanContext | None._SpanUtils.otel_span_to_uipath_spannow raises an explicitValueErrorinstead of anAttributeErroron a missing context;TrajectoryEvaluationTrace.from_readable_spansnarrows via walrus (no behaviour change); 4 now-unusedtype: ignores removed from tests.Verification
uv lock --checkpasses for all 7 projectsTest plan
main, Mondays)🤖 Generated with Claude Code