Live threats

All CVEs / Vercel

CVE-2025-48985Vercel Ai

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Nov 7, 2025
Updated
Oct 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Ai.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm ai < 5.0.52 5.0.52 npm install ai@5.0.52
npm ai ≥ 5.1.0-beta.0 < 5.1.0-beta.9 5.1.0-beta.9 npm install ai@5.1.0-beta.9

Per OSV / GitHub Advisories (GHSA-rwvc-j5jr-mgvh). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vercelai< 5.0.52
vercelai5.1.0
vercelai5.1.0
vercelai5.1.0
vercelai5.1.0
vercelai5.1.0
vercelai5.1.0
vercelai5.1.0
vercelai5.1.0
vercelai5.1.0

Official sources

References

Links published by the sources. Open them with care.