Skip to content

fix(deps): require anyio>=4.14.2 on Python 3.10+ (CVE-2026-63374) - #121

Merged
jingsong merged 1 commit into
mainfrom
devin/1792605886-anyio-cve
Oct 21, 2026
Merged

jingsong merged 1 commit into
mainfrom
devin/1792605886-anyio-cve

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

anyio before 4.14.2 has a TLS hostname-encoding bug that can let a spoofed certificate pass (GHSA-82r6-8w77-94w6 / CVE-2026-63374). The SDK's async client can go through anyio's TLS stream via httpx/httpcore.

The fixed release needs Python 3.10+, and the SDK still supports 3.9, so the floor is raised only where a fix exists:

- "anyio>=3.5.0, <5",
+ "anyio>=3.5.0, <5; python_version < '3.10'",
+ "anyio>=4.14.2, <5; python_version >= '3.10'",

uv.lock now resolves anyio 4.15.1 on 3.10+ and 4.12.1 on 3.9. typing-extensions splits the same way (4.16.0 on 3.10+, as anyio 4.15 requires). uv also bumped the lockfile revision from 3 to 5. CI's setup-uv installs the latest uv, so it can read it.

Python 3.9 users stay exposed. No patched anyio supports 3.9, so the only full fix there is dropping 3.9, which is a separate decision.

Tests: ./scripts/lint passes, and unit tests pass on 3.9 and 3.12.

Link to Devin session: https://app.devin.ai/sessions/e0b68a300c1842b993016fb8f6384a17
Open in Devin Desktop: https://app.devin.ai/desktop/session/e0b68a300c1842b993016fb8f6384a17?variant=devin
Requested by: @jingsong


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

Original prompt from jingsong

SYSTEM:
<latest_message>
Jingsong Wang (U0A3L3BUY3F) [ts=1792605844.419919]: can you fix this CVE pip-anyio &amp;lt; 4.14.2/CVE-2026-63374 in reducto-python-sdk
</latest_message>

=== BEGIN THREAD HISTORY ===
Jingsong Wang (U0A3L3BUY3F) [ts=1792605844.419919]: can you fix this CVE pip-anyio &amp;lt; 4.14.2/CVE-2026-63374 in reducto-python-sdk
=== END THREAD HISTORY ===
Channel ID: D0A3887KWSK
Thread URL: https://reductoai.slack.com/archives/D0A3887KWSK/p1792605844419919?thread_ts=1792605844.419919&amp;cid=D0A3887KWSK

The <latest_message> is the message that you should use to guide your goals + task for this session, and you should use the rest of the slack thread as context.
A [ts=...] marker on a Slack message is that message's timestamp. To act on a specific message with the slack tool (e.g. adding an emoji reaction via the reaction command), pass that value as timestamp along with the Channel ID — no extra lookup call is needed.

@jingsong
jingsong merged commit 910aeff into main Oct 21, 2026
8 checks passed
@hewliyang hewliyang mentioned this pull request Oct 24, 2026
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.

1 participant