Advisory

GHSA-866g-f22w-33x8

Also known as: CVE-2026-8769

Summary

@ai-sdk/provider-utils has an Uncontrolled Resource Consumption issue

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-05-18 00:31 UTC
Modified
2026-09-08 16:30 UTC

Affected packages and fixes

@ai-sdk/provider-utils

npm · All systems

Affected

  • introduced 0, fixed 3.0.28 (semver)

Fixed versions

3.0.28

Fix

@ai-sdk/provider-utils

npm · All systems

Affected

  • introduced 4.0.0-beta.10, fixed 4.0.33 (semver)

Fixed versions

4.0.33

Fix

@ai-sdk/provider-utils

npm · All systems

Affected

  • introduced 5.0.0-beta.0, fixed 5.0.1 (semver)

Fixed versions

5.0.1

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences