fix: restrict aiohttp extra to Python >=3.10 to resolve multiple CVEs#36
Open
liliwilson wants to merge 1 commit into
Open
fix: restrict aiohttp extra to Python >=3.10 to resolve multiple CVEs#36liliwilson wants to merge 1 commit into
liliwilson wants to merge 1 commit into
Conversation
aiohttp <3.14.0 has multiple vulnerabilities: CVE-2026-34993, CVE-2026-47265, CVE-2026-54273 through CVE-2026-54280, CVE-2026-50269. The patched version (>=3.14.1) requires Python >=3.10. Adding a python_version >= '3.10' marker removes aiohttp 3.13.5 (vulnerable) from the lock file entirely for the aiohttp optional extra. Co-Authored-By: Oz <oz-agent@warp.dev>
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
Restricts the
aiohttpoptional extra to Python >=3.10, removing aiohttp 3.13.5 (vulnerable) from the lock file entirely.aiohttp <3.14.0 has multiple CVEs, all patched in 3.14.1:
What changed
pyproject.toml: updated theaiohttpoptional extra to addpython_version >= '3.10'marker and bump requirement to>=3.14.1uv.lock: aiohttp 3.13.5 removed; only 3.14.1 remainsrequirements-dev.lock: updated accordinglyWhy Python 3.10+: aiohttp 3.14.x dropped Python 3.9 support upstream. Since the patched version is unavailable for Python 3.9, the extra is now restricted to Python >=3.10. Python 3.9 users installing
oz-agent-sdk[aiohttp]will get no aiohttp installed (theAsyncAiohttpClientwill raise its existingRuntimeError).Verification
uv lockresolves cleanly; aiohttp 3.13.5 is absent from the lock fileuv buildsucceedsConversation: https://staging.warp.dev/conversation/8fcb602d-7514-41c3-93bd-941b6c17aaee
Run: https://oz.staging.warp.dev/runs/019eef6c-8fc0-755f-a7ec-c9c349c0c5a9
This PR was generated with Oz.