Repository navigation
chore: upgrade ai to ^6.0.303 to address CVE-2026-8769 - #1722
Closed
claude[bot] wants to merge 2 commits into
Closed
claude[bot] wants to merge 2 commits into
claude[bot] wants to merge 2 commits into
Conversation
Bumps ai and the @ai-sdk/* provider packages within their current majors so that @ai-sdk/provider-utils resolves to 4.0.57 (patched floor 4.0.33). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Contributor
|
@claude[bot] your pull request is missing a changelog! |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
License Audit❌ Audit failed to produce results. Check the workflow logs for details. |
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.
Fixes SOU-2197
Summary
Addresses CVE-2026-8769 (
@ai-sdk/provider-utilsuncontrolled resource consumption, patched in4.0.33).@ai-sdk/provider-utilsis exact-pinned (4.0.23) byaiand every@ai-sdk/*provider package, so a lockfile refresh ofprovider-utilsalone can't fix it. This PR bumps the top-level packages inpackages/webto their latest releases within their current majors:ai^6.0.167^6.0.303@ai-sdk/amazon-bedrock^4.0.94^4.0.194@ai-sdk/anthropic^3.0.70^3.0.129@ai-sdk/azure^3.0.54^3.0.136@ai-sdk/deepseek^2.0.29^2.0.71@ai-sdk/google^3.0.64^3.0.131@ai-sdk/google-vertex^4.0.111^4.0.212@ai-sdk/mistral^3.0.30^3.0.70@ai-sdk/openai^3.0.53^3.0.125@ai-sdk/openai-compatible^2.0.41^2.0.81@ai-sdk/react^3.0.169^3.0.306@ai-sdk/xai^3.0.83^3.0.139After the upgrade, every 4.x copy of
@ai-sdk/provider-utilsresolves to4.0.57. Noresolutionsoverride is used.Note on
@ai-sdk/mcp@ai-sdk/mcp@2.0.0-beta.11(unchanged) still depends on@ai-sdk/provider-utils@5.0.0-beta.7. That prerelease falls outside the advisory's affected ranges (<3.0.28,>=4.0.0 <4.0.33,>=5.0.0 <5.0.1), so it isn't flagged. I tried moving to stable@ai-sdk/mcp@2.0.73(provider-utils@5.0.58), but it targets the AI SDK v7 tool API and breaks typechecking againstai@6(ToolExecutionOptions.context, function-valued tooldescription). That move belongs with anaiv7 migration, so it's out of scope here.Verification
yarn why @ai-sdk/provider-utils: only4.0.57and5.0.0-beta.7remain.yarn workspace @sourcebot/web test --run: 151 files, 1529 tests passed.yarn workspace @sourcebot/web lint: clean.tsc --noEmitinpackages/web: no errors apart from static-asset imports that need the generatednext-env.d.ts.yarn workspace @sourcebot/web build: succeeded.🤖 Generated with Claude Code
Note
Medium Risk
Touches the Ask/agent LLM dependency stack used in production chat flows; changes are semver-compatible bumps with no app code edits, but regressions in streaming or provider behavior are possible.
Overview
Bumps the Vercel AI SDK stack in
packages/webto address CVE-2026-8769 (uncontrolled resource consumption in@ai-sdk/provider-utils). Becauseprovider-utilsis exact-pinned byaiand the provider packages, the fix comes from upgrading the top-level dependencies rather than a lockfile-only override.aimoves from^6.0.167to^6.0.303, with matching minor/patch bumps across@ai-sdk/amazon-bedrock,@ai-sdk/anthropic,@ai-sdk/azure,@ai-sdk/deepseek,@ai-sdk/google,@ai-sdk/google-vertex,@ai-sdk/mistral,@ai-sdk/openai,@ai-sdk/openai-compatible,@ai-sdk/react, and@ai-sdk/xai. The lockfile now resolves 4.x@ai-sdk/provider-utilsto 4.0.57 (above the patched4.0.33floor).@ai-sdk/mcpstays on2.0.0-beta.11(out of scope for this advisory). CHANGELOG records theaiupgrade under Unreleased → Fixed.Reviewed by Cursor Bugbot for commit 2ea6090. Bugbot is set up for automated code reviews on this repo. Configure here.