---
id: CVE-2026-8769
title: A vulnerability was determined in vercel ai up to 3.0.97
summary: >-
  A vulnerability was determined in vercel ai up to 3.0.97. The impacted element
  is the function createJsonResponseHandler/createJsonErrorResponseHandler of
  the file packages/provider-utils/src/response-handler.ts of the component
  provider…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-400
  - CWE-404
vendor: vercel
product: ai
affected:
  - ai <= 3.0.97
patched:
  - '@ai-sdk/provider-utils 3.0.28'
  - '@ai-sdk/provider-utils 4.0.33'
  - '@ai-sdk/provider-utils 5.0.1'
published: '2026-05-17'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8769'
references:
  - url: 'https://gist.github.com/YLChen-007/fb1096bc8428bed9a428f764d9d103bb'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/811406'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/364394'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/364394/cti'
    label: cna@vuldb.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8769'
  - url: 'https://github.com/vercel/ai/pull/16374'
  - url: >-
      https://github.com/vercel/ai/commit/6a436e31d247d678ddaedfc6f61e73ac0595e4b4
  - url: >-
      https://github.com/vercel/ai/commit/b30e43ac3fae2432a40b4f4f27f844f3d78b119e
  - url: >-
      https://github.com/vercel/ai/commit/b85c4fbc603b8173cf50a9790823397aada908a9
  - url: >-
      https://github.com/vercel/ai/blob/main/packages/provider-utils/CHANGELOG.md#501
  - url: 'https://github.com/vercel/ai/releases/tag/@ai-sdk/provider-utils@3.0.28'
  - url: 'https://github.com/vercel/ai/releases/tag/@ai-sdk/provider-utils@4.0.33'
  - url: 'https://github.com/vercel/ai/releases/tag/@ai-sdk/provider-utils@5.0.1'
  - url: 'https://github.com/advisories/GHSA-866g-f22w-33x8'
tags:
  - nvd
  - ghsa
  - npm
epss: 0.00561
epssPercentile: 0.46456
aliases:
  - GHSA-866g-f22w-33x8
ecosystem: npm
ingestedAt: '2026-09-08T16:34:19.230Z'
---

## Overview

A vulnerability was determined in vercel ai up to 3.0.97. The impacted element is the function createJsonResponseHandler/createJsonErrorResponseHandler of the file packages/provider-utils/src/response-handler.ts of the component provider-utils. This manipulation causes resource consumption. The attack may be initiated remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.

## Affected

- `ai <= 3.0.97`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-8769)

Affected packages:

- `@ai-sdk/provider-utils < 3.0.28`
- `@ai-sdk/provider-utils >= 4.0.0-beta.10, < 4.0.33`
- `@ai-sdk/provider-utils >= 5.0.0-beta.0, < 5.0.1`

Patched in:

- `@ai-sdk/provider-utils 3.0.28`
- `@ai-sdk/provider-utils 4.0.33`
- `@ai-sdk/provider-utils 5.0.1`

Source: https://github.com/advisories/GHSA-866g-f22w-33x8
