Skip to content

fix(deps): remediate 2026-11 FOSSA CVEs across all uv lockfiles (PRODEV-1942) - #2001

Merged
andreibalas-uipath merged 5 commits into
mainfrom
chore/2026-11-cves
Nov 19, 2026
Merged

andreibalas-uipath merged 5 commits into
mainfrom
chore/2026-11-cves

Conversation

@andreibalas-uipath

@andreibalas-uipath andreibalas-uipath commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Remediates all 15 open FOSSA findings (66 CVE entries) under epic PRODEV-1942. FOSSA scans the whole repo, so every uv.lock in the scan scope is updated (3 packages + 4 samples).

Jira Package Was Now CVEs Max CVSS SLA
PRODEV-1982 / PRODEV-1990 anyio 4.12.1 / 4.13.0 4.14.2–4.16.0 2 9.3 -21d
PRODEV-1980 PyJWT 2.14.0 2.15.1 2 8.2 -14d
PRODEV-1834 mcp 1.28.1 (sample floor) >=1.30.0 5 7.5 1d
PRODEV-1983 aiohttp 3.13.3 3.14.5 41 8.7 21d
PRODEV-1987 urllib3 2.6.3 2.8.0 2 8.9 21d
PRODEV-1981 msgpack 1.1.2 1.2.4 2 7.5 21d
PRODEV-1978 sqlparse 0.6.0 0.6.1 1 8.4 21d
PRODEV-1986 idna 3.11 3.20 1 6.9 81d
PRODEV-1979 requests 2.32.5 2.34.2 1 5.5 81d
PRODEV-1988 multidict 6.7.1 6.9.1 1 5.3 81d
PRODEV-1984 / PRODEV-1985 / PRODEV-2039 opentelemetry-api 1.39.1 / 1.40.0 / 1.45.1 1.45.2 1–2 5.3 81d
PRODEV-1989 Pygments 2.19.2 2.21.0 1 1.9 171d

Changes

  • Lockfiles: targeted uv lock --upgrade-package ... in all 7 projects (no full re-lock). multidict capped <7 (fix is 6.9.1); the greeter sample was already on 7.x and is left as-is.
  • opentelemetry: the api/sdk/instrumentation/semantic-conventions family moves together (1.39/1.40 → 1.45.2, 0.60b1/0.61b0 → 0.66b2), since sdk pins api to the same version.
  • Dependency floors (so PyPI consumers also get the fixes): 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).
  • Versions: uipath-core 0.5.34 → 0.5.35, uipath-platform 0.3.10 → 0.3.12 (0.3.11 was taken by feat(ontology): add an Ontology service client to uipath-platform [DS-9950] #1999), uipath 2.15.2 → 2.15.3; uipath-core>=0.5.35 in uipath-platform and uipath, uipath-platform>=0.3.12 in uipath.
  • Typing: opentelemetry-sdk 1.45 types ReadableSpan.get_span_context() as SpanContext | None. _SpanUtils.otel_span_to_uipath_span now raises an explicit ValueError instead of an AttributeError on a missing context; TrajectoryEvaluationTrace.from_readable_spans narrows via walrus (no behaviour change); 4 now-unused type: ignores removed from tests.

Verification

  • All 7 lockfiles in FOSSA scan scope verified: 0 vulnerable pins remain (was 49)
  • uv lock --check passes for all 7 projects
  • ruff check + format, mypy, httpx linter pass
  • Tests pass: uipath-core 246, uipath-platform 2272 (7 credential-gated skips), uipath 2731 (1 pre-existing xfail)

Test plan

  • CI pipeline passes
  • FOSSA scan confirms CVEs resolved (next weekly scan on main, Mondays)

🤖 Generated with Claude Code

…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>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 16:03
@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-runtime test:uipath-integrations labels Nov 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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 uipath and uipath-platform patch 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>
@andreibalas-uipath andreibalas-uipath self-assigned this Nov 19, 2026
andreibalas-uipath and others added 2 commits November 19, 2026 16:04
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>
…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>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block the dependency and OpenTelemetry compatibility updates.

No open issues 🎉

Review effort: Balanced

@sonarqubecloud

Copy link
Copy Markdown

@andreibalas-uipath
andreibalas-uipath merged commit 80c8edc into main Nov 19, 2026
222 of 223 checks passed
@andreibalas-uipath
andreibalas-uipath deleted the chore/2026-11-cves branch November 19, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-integrations test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants