sec: bump vulnerable dependencies to resolve HIGH/CRITICAL CVEs#194
Closed
scale-ballen wants to merge 1 commit intomainfrom
Closed
sec: bump vulnerable dependencies to resolve HIGH/CRITICAL CVEs#194scale-ballen wants to merge 1 commit intomainfrom
scale-ballen wants to merge 1 commit intomainfrom
Conversation
Workspace override updates to force patched versions: - aiohttp: 3.12.15 → 3.13.5 (CVE-2025-53643, CVE-2025-69226) - python-multipart: 0.0.12 → 0.0.24 (CVE-2026-24486) - starlette: 0.46.2 → 1.0.0 (CVE-2025-62727) - cryptography: → 46.0.7 - certifi: 2025.8.3 → 2026.2.25 - fastapi: 0.115.14 → 0.135.3 Additional bumps via uv lock --upgrade: - uvicorn: 0.35.0 → 0.44.0 (relaxed upper bound from <0.36) - urllib3: 1.26.20 → 2.6.3 - pyjwt: 2.10.1 → 2.12.1 - agentex-sdk: 0.4.18 → 0.9.10 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5e86617 to
f2ad54b
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
Contributor
Author
|
Closing — changes should be made in the private agentex repo, not the public submodule. The FIPS images are built and mirrored from the private repo's CI. |
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
Bump vulnerable Python dependencies via workspace overrides and
uv lock --upgradeto resolve HIGH/CRITICAL vulnerabilities in the agentex and agentex-auth container images.Dependency Changes
What Changed
pyproject.toml(workspace root): Expanded override-dependencies to force patched versions of aiohttp, python-multipart, starlette, cryptography, certifi. Bumped agentex-sdk floor to 0.9.10.agentex/pyproject.toml(backend): Bumped aiohttp floor to ≥3.13.5, python-multipart to ≥0.0.24, relaxed uvicorn upper bound (was <0.36).uv.lock: Regenerated withuv lock --upgrade.Testing Results
Risk Assessment
Notes
fastapi<0.116— the workspace override (fastapi>=0.135.0) is requiredTest Plan
uv lock --upgraderesolves without conflicts🤖 Generated with Claude Code
Greptile Summary
This PR bumps a set of Python dependencies to resolve HIGH and CRITICAL CVEs, using
uvworkspace-leveloverride-dependenciesto force patched versions regardless of the agentex-sdk's pinned constraints, then regeneratesuv.lock. The approach is sound: overrides are correctly scoped, the lock file resolves without conflicts, and the starlette<2.0upper bound guards against a future major version pulling in breaking changes.Confidence Score: 5/5
Safe to merge — targeted security dependency bumps with no functional code changes, passing unit tests, and no deprecated API usage in the codebase.
All changes are dependency version pins and a regenerated lock file. The starlette imports in the codebase (BackgroundTask, BaseHTTPMiddleware, ASGIApp, TestClient, etc.) are all stable APIs present in starlette 1.0.0. No P0 or P1 findings identified.
No files require special attention.
Vulnerabilities
This PR is specifically a security remediation. All patched CVEs (aiohttp CVE-2025-53643/CVE-2025-69226, python-multipart CVE-2026-24486, starlette CVE-2025-62727) are addressed by the resolved package versions in
uv.lock. No new secrets or auth-boundary changes were introduced. The cryptography and certifi overrides are appropriate belt-and-suspenders hardening. No new security concerns identified.Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A["pyproject.toml\n(workspace root)\noverride-dependencies"] -->|forces| B["fastapi>=0.135.0\nstarlette>=0.52.1,<2.0\naiohttp>=3.13.5\npython-multipart>=0.0.24\ncertifi>=2026.2.25\ncryptography>=46.0.7"] C["agentex/pyproject.toml\n(backend direct deps)"] -->|declares| D["aiohttp>=3.13.5,<4\npython-multipart>=0.0.24\nuvicorn>=0.35.0 (no upper)"] E["agentex-sdk@0.9.10\n(transitive)"] -->|pins| F["fastapi<0.116"] A -->|workspace override wins| F B --> G["uv.lock\n(resolved)"] D --> G G --> H["aiohttp 3.13.5\nfastapi 0.135.3\nstarlette 1.0.0\nuvicorn 0.44.0\nurllib3 2.6.3\ncryptography 46.0.7\ncertifi 2026.2.25"]Reviews (2): Last reviewed commit: "sec: bump vulnerable dependencies to res..." | Re-trigger Greptile