---
id: CVE-2025-48985
title: >-
  A vulnerability in Vercel’s AI SDK has been fixed in versions 5.0.52,
  5.1.0-beta.9, and 6.0.0-beta
summary: "A vulnerability in Vercel’s AI SDK has been fixed in versions 5.0.52, 5.1.0-beta.9, and 6.0.0-beta. This issue may have allowed users to bypass filetype whitelists when uploading files. All users are encouraged to upgrade.\r\n\r\nMore detail…"
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-20
vendor: vercel
product: ai
affected:
  - ai < 5.0.52
  - ai = 5.1.0
patched:
  - ai 5.0.52
published: '2025-11-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T21:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-48985'
references:
  - url: >-
      https://github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed
    label: support@hackerone.com
  - url: >-
      https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk
    label: support@hackerone.com
tags:
  - nvd
epss: 0.00265
epssPercentile: 0.16872
ingestedAt: '2026-10-07T21:54:14.974Z'
---

## Overview

A vulnerability in Vercel’s AI SDK has been fixed in versions 5.0.52, 5.1.0-beta.9, and 6.0.0-beta. This issue may have allowed users to bypass filetype whitelists when uploading files. All users are encouraged to upgrade.

More details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk

## Affected

- `ai < 5.0.52`
- `ai = 5.1.0`

## Remediation

Upgrade past the affected range:

- `ai 5.0.52`
