Skip to content

fix: restrict aiohttp extra to Python >=3.10 to resolve multiple CVEs#36

Open
liliwilson wants to merge 1 commit into
mainfrom
independabot/aiohttp-cve-2026-34993
Open

fix: restrict aiohttp extra to Python >=3.10 to resolve multiple CVEs#36
liliwilson wants to merge 1 commit into
mainfrom
independabot/aiohttp-cve-2026-34993

Conversation

@liliwilson

Copy link
Copy Markdown

Summary

Restricts the aiohttp optional 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 the aiohttp optional extra to add python_version >= '3.10' marker and bump requirement to >=3.14.1
  • uv.lock: aiohttp 3.13.5 removed; only 3.14.1 remains
  • requirements-dev.lock: updated accordingly

Why 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 (the AsyncAiohttpClient will raise its existing RuntimeError).

Verification

  • uv lock resolves cleanly; aiohttp 3.13.5 is absent from the lock file
  • uv build succeeds

Conversation: 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.

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants