What’s Vulnerable › Vulnerabilities

CVE-2025-48985

Description

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 products

How to fix

Upgrade to a fixed version: vercel ai 5.0.52. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-48985 or the next vulnerability affects your stack