You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update npm package @ai-sdk/provider-utils to v4.0.33 [SECURITY] - #440
Versions of @ai-sdk/provider-utils before 3.0.28, from 4.0.0 before 4.0.33, and from 5.0.0 before 5.0.1 are vulnerable to uncontrolled resource consumption. The createJsonResponseHandler, createJsonErrorResponseHandler, and createStatusCodeErrorResponseHandler functions in packages/provider-utils/src/response-handler.ts read response bodies without a shared size limit, allowing a remote attacker with low privileges to cause excessive memory consumption. The exploit has been publicly disclosed and may be utilized.
Medium Risk
Security dependency patch for AI SDK HTTP response handling; risk is limited to lockfile resolution, but nested @ai-sdk/react may still pull the pre-patch provider-utils version.
Overview Lockfile-only update that resolves @ai-sdk/provider-utils from 4.0.21 to 4.0.33, addressing CVE-2026-8769 (unbounded reads of HTTP response bodies in JSON/status error handlers, which could drive excessive memory use).
The bump also refreshes related locked versions (@ai-sdk/provider 3.0.12, eventsource-parser 3.1.1). There is no application source change—only package-lock.json. Note that @ai-sdk/react still nests @ai-sdk/provider-utils@4.0.21 in the lockfile, so some code paths may keep using the older copy until that dependency tree is updated separately.
Reviewed by Cursor Bugbot for commit a4f1498. Bugbot is set up for automated code reviews on this repo. Configure here.
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
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.
This PR contains the following updates:
4.0.21→4.0.33@ai-sdk/provider-utils has an Uncontrolled Resource Consumption issue
CVE-2026-8769 / GHSA-866g-f22w-33x8
More information
Details
Versions of
@ai-sdk/provider-utilsbefore 3.0.28, from 4.0.0 before 4.0.33, and from 5.0.0 before 5.0.1 are vulnerable to uncontrolled resource consumption. ThecreateJsonResponseHandler,createJsonErrorResponseHandler, andcreateStatusCodeErrorResponseHandlerfunctions inpackages/provider-utils/src/response-handler.tsread response bodies without a shared size limit, allowing a remote attacker with low privileges to cause excessive memory consumption. The exploit has been publicly disclosed and may be utilized.Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
vercel/ai (@ai-sdk/provider-utils)
v4.0.33Compare Source
Patch Changes
b30e43a: Limit JSON response body reads in response handlers to prevent unbounded memory use.v4.0.32Compare Source
Patch Changes
f19334d]v4.0.31Patch Changes
1b40ac7: Publish all packages under the@ai-v6dist tag.1b40ac7]Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.