NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-8769: @ai-sdk/provider-utils has an Uncontrolled Resource Consumption issue

lowCVSS 4.0 2.1 · 3.1 4.3GHSA-866g-f22w-33x8

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…

Published May 18, 2026 · Updated Sep 8, 2026

Affected packages

@ai-sdk/provider-utils

Ecosystem
npm
Affected
< 3.0.28
Fixed in
3.0.28
Check
npm ls @ai-sdk/provider-utils

@ai-sdk/provider-utils

Ecosystem
npm
Affected
>= 4.0.0-beta.10, < 4.0.33
Fixed in
4.0.33
Check
npm ls @ai-sdk/provider-utils

@ai-sdk/provider-utils

Ecosystem
npm
Affected
>= 5.0.0-beta.0, < 5.0.1
Fixed in
5.0.1
Check
npm ls @ai-sdk/provider-utils

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to lachieh, lochoangwork, tractorcow.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology