chore: bump @ai-sdk/provider-utils to ^4.0.41 (CVE-2026-8769) - #48
Merged
Conversation
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
requesty-JohnCosta27
previously approved these changes
Jul 31, 2026
devin-ai-integration
Bot
dismissed
requesty-JohnCosta27’s stale review
July 31, 2026 15:27
The merge-base changed after approval.
Co-Authored-By: Daniel Trugman <daniel@requesty.ai>
requesty-ditti
force-pushed
the
devin/1785511410-provider-utils-4
branch
from
July 31, 2026 15:27
dbbe98a to
19bfcc0
Compare
requesty-JohnCosta27
approved these changes
Jul 31, 2026
requesty-ditti
approved these changes
Jul 31, 2026
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
CVE-2026-8769 affects
@ai-sdk/provider-utils≤ 3.0.97, and the 3.x line tops out at 3.0.31 (only 3.1.0 betas beyond it), so the direct dependency has to move to 4.x:4.0.41 is what
ai@6.0.238itself depends on and it was already resolved in the lockfile as a second copy, so this just deduplicates onto the version the rest of the tree uses. It still depends on@ai-sdk/provider@3.0.14, so the@ai-sdk/provider: ^3.0.0dependency is unchanged, and the imports used here (loadApiKey,withoutTrailingSlash,createJsonErrorResponseHandler,ParseResult, stream helpers) are source-compatible —tsc --noEmitand all 146 tests pass unchanged.Stacked on #47: provider-utils 4.x still pins
undici: ^5.29.0, so the undici override from that PR is still required.Link to Devin session: https://app.devin.ai/sessions/2216f6167a274f5e86e5ff85a4f7b6f0
Requested by: @requesty-ditti