fix: upgrade transitive deps to resolve 8 known vulnerabilities#322
Merged
heyitsaamir merged 2 commits intomainfrom Mar 24, 2026
Merged
fix: upgrade transitive deps to resolve 8 known vulnerabilities#322heyitsaamir merged 2 commits intomainfrom
heyitsaamir merged 2 commits intomainfrom
Conversation
Bump dependency floors and lock file to fix: - authlib 1.6.6→1.6.9 (CVE-2026-28802, JWT alg:none bypass) - cryptography 46.0.3→46.0.5 (CVE-2026-26007, EC subgroup validation) - fastmcp 2.14.0→3.1.1 (CVE-2025-69196) - pyjwt 2.10.1→2.12.1 (CVE-2026-32597, crit header bypass) - pyasn1 0.6.2→0.6.3 (CVE-2026-30922, recursion bomb DoS) - starlette 0.49.1→1.0.0 (CVE-2025-43859, HTTP request smuggling) - fastapi 0.128.0→0.135.2 (pulled by starlette) - diskcache 5.6.3 removed (no longer needed with fastmcp 3.x) Raise floor constraints to prevent vulnerable versions: - pyjwt[crypto]>=2.12.0 in api, apps, graph - fastmcp>=2.14.2 in mcpplugin Fix stale test from PR #318 that expected removed recipient inference. Remaining: jsonpickle 1.4.2 (CVE-2020-22083) pinned by botbuilder-core<1.5. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades dependency resolutions across the Teams Python SDK workspace to remediate reported security vulnerabilities and adjusts package-level minimum constraints to reduce the chance of vulnerable versions being installed, along with updating a test expectation after the targeted-recipient behavior change.
Changes:
- Updated
uv.lockto newer (mostly transitive) dependency versions, including authlib/cryptography/fastapi/starlette/fastmcp/pyjwt/pyasn1, and removeddiskcachefrom the resolved set. - Raised minimum version floors for
pyjwt[crypto]in multiple packages andfastmcpinmcpplugin. - Updated an apps test to reflect that clearing
recipientis no longer auto-inferred.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| uv.lock | Refreshes the locked dependency set to versions that address reported CVEs and removes no-longer-needed transitive packages. |
| packages/mcpplugin/pyproject.toml | Raises the minimum fastmcp version constraint. |
| packages/graph/pyproject.toml | Raises the minimum pyjwt[crypto] version constraint. |
| packages/apps/tests/test_activity_context.py | Updates a targeted-send test expectation after recipient-inference behavior was removed. |
| packages/apps/pyproject.toml | Raises the minimum pyjwt[crypto] version constraint. |
| packages/api/pyproject.toml | Raises the minimum pyjwt[crypto] version constraint. |
lilyydu
reviewed
Mar 24, 2026
lilyydu
approved these changes
Mar 24, 2026
Per PR review feedback — test was added when is_targeted was on Activity rather than Account, and no longer tests meaningful behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
pip-auditpyjwtandfastmcpto prevent vulnerable versions from resolving on fresh installsVulnerabilities Fixed
alg:nonebypass)critheader bypass)Unfixable: jsonpickle 1.4.2 (CVE-2020-22083) — pinned by
botbuilder-coreto>=1.2,<1.5.Floor Constraint Changes
pyjwt[crypto]>=2.12.0in api, apps, graph (was>=2.10.0)fastmcp>=2.14.2in mcpplugin (was>=0.5.0)Test plan
poe test— 546 passed, 0 failed🤖 Generated with Claude Code