@ai-sdk/provider-utils
Affected
- introduced
0, fixed3.0.28(semver)
Fixed versions
3.0.28
Fix
- Fixed version
3.0.28npm install @ai-sdk/[email protected]
Advisory
Also known as: CVE-2026-8769
@ai-sdk/provider-utils has an Uncontrolled Resource Consumption issue
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.
Low Basis: The source's own band: LOW
0, fixed 3.0.28 (semver)3.0.28
3.0.28npm install @ai-sdk/[email protected]4.0.0-beta.10, fixed 4.0.33 (semver)4.0.33
4.0.33npm install @ai-sdk/[email protected]5.0.0-beta.0, fixed 5.0.1 (semver)5.0.1
5.0.1npm install @ai-sdk/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0