@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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @ai-sdk/provider-utils | < 3.0.28, >= 4.0.0-beta.10, < 4.0.33, >= 5.0.0-beta.0, < 5.0.1 | 3.0.28, 4.0.33, 5.0.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-8769
- https://github.com/vercel/ai/pull/16374
- https://github.com/vercel/ai/commit/6a436e31d247d678ddaedfc6f61e73ac0595e4b4
- https://github.com/vercel/ai/commit/b30e43ac3fae2432a40b4f4f27f844f3d78b119e
- https://github.com/vercel/ai/commit/b85c4fbc603b8173cf50a9790823397aada908a9
- https://gist.github.com/YLChen-007/fb1096bc8428bed9a428f764d9d103bb
- https://github.com/vercel/ai
- https://github.com/vercel/ai/blob/main/packages/provider-utils/CHANGELOG.md#501
- https://github.com/vercel/ai/releases/tag/@ai-sdk/provider-utils@3.0.28
- https://github.com/vercel/ai/releases/tag/@ai-sdk/provider-utils@4.0.33
- https://github.com/vercel/ai/releases/tag/@ai-sdk/provider-utils@5.0.1
- https://vuldb.com/submit/811406
- https://vuldb.com/vuln/364394
- https://vuldb.com/vuln/364394/cti
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L- Weakness (CWE)
CWE-400- Platform
- npm
- Package
@ai-sdk/provider-utils- Disclosed
- 18.05.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-866g-f22w-33x8 - CC BY 4.0
Vulnerability history: @ai-sdk/provider-utils
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.