fix(deps): hold pyjwt>=2.14.0 and document mcp 2.2.0 HTTP session limits - #66
Merged
Merged
Conversation
This was referenced Sep 30, 2026
Closed
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.
Why
After merging #62, #63 and #64,
mainCI is red. TheDependency auditjob fails and Docker Build & Push is skipped, so no image has been published from those merges. The cause is ten advisories published today againstpyjwt2.13.0: CVE-2026-101917, CVE-2026-102265..102269 and CVE-2026-102271..102274, all fixed in 2.14.0. They are not introduced by #64:origin/mainhad the samepyjwt2.13.0 lock before the merges, and the last green daily audit ran at 12:14Z.None of them can be reached from ssh-mcp. In mcp 2.2.0 the only
import jwtismcp/client/auth/extensions/client_credentials.py. That is an OAuth client extension, andssh_mcpnever imports it.What
pyproject.toml: addspyjwt>=2.14.0under[tool.uv] constraint-dependencies. This is the transitive-floor convention already used forclick/cryptography, so the wheel'sRequires-Distdoes not change.tests/test_dependency_floors.pygets the matchingSECURITY_FLOORSentry.uv.lock:uv lock --upgrade-package pyjwt. Only pyjwt moves (2.13.0 -> 2.15.1), plus the manifest constraint.CHANGELOG.md[Unreleased]: a Security entry for the above, and a Changed entry for the stateful-session limits that mcp 2.2.0 (chore(deps): bump the python-version-updates group across 1 directory with 4 updates #64) introduced: a 30-minute idle expiry and a 10,000-session cap, legacy protocol only; stateless mode avoids both.README.mdgets the same information in one sentence.AGENTS.mdand in comments only insrc/ssh_mcp/server.py. The AST is unchanged apart from docstrings. The test count in AGENTS.md is updated to 850.Verification
HYPOTHESIS_PROFILE=cipytest: 850 passed. ruff format/check, mypy, bandit,uv lock --check,pip-audit(no known vulnerabilities), and gitleaks overorigin/main..HEADare all clean.404 Session not found, as documented.