NetSight
low3.7

CVE-2025-48985

Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
npmai< 5.0.525.0.52

Affected products

VendorProductAffected versions
VercelAi
before 5.0.52
Version 5.1.0

Weakness classification

References