fix(deps): require aiohttp >=3.14.1 for VULN-88795#123
Draft
shuningc wants to merge 3 commits into
Draft
Conversation
Add a direct aiohttp security floor to remediate the TLS SNI server_hostname bypass on reused connections (fixed in 3.14.1). Main lock resolves aiohttp 3.14.2; example pins bumped to 3.14.1 and the langgraph example lock regenerated (also reconciles the previously missing ruff entry declared in its pyproject). Co-authored-by: Cursor <cursoragent@cursor.com>
Revert the direct aiohttp dependency added in pyproject.toml to preserve the original project structure (aiohttp stays optional/transitive via crewai/all extras). Remediation is done purely by pinning aiohttp 3.14.2 in poetry.lock. Co-authored-by: Cursor <cursoragent@cursor.com>
shuningc
marked this pull request as draft
July 23, 2026 00:10
aiohttp 3.14 removed aiohttp.streams.AsyncStreamReaderMixin, which vcrpy 7.0.0's aiohttp stub subclassed, breaking tests/test_openai_agents.py. vcrpy 8.3.0 drops that mixin. This also removes the vcrpy-7-only urllib3<2 pin (urllib3 stays 2.5.0). Co-authored-by: Cursor <cursoragent@cursor.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
aiohttp = ">=3.14.1,<4"to remediate VULN-88795 (TLS SNIserver_hostnamebypass on reused connections; fixed in 3.14.1).poetry.lockresolves aiohttp 3.14.2 (only aiohttp version changed).requirements.txtpins bumped toaiohttp==3.14.1;langgraph-fsi-agent/before/poetry.lockregenerated to 3.14.2.Notes
ruffentry that was declared in its pyproject but missing from the stale lock.Test plan
poetry checkpoetry run pytest tests/(1988 passed, 10 skipped)Jira
VULN-88795