Vercel AI SDK Input Validation Bypass v5.0.52/5.1.0-beta.9/6.0.0-beta
CVE-2025-48985 Published on November 7, 2025
A vulnerability in Vercels 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
Vulnerability Analysis
Weakness Type
Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Products Associated with CVE-2025-48985
Want to know whenever a new CVE is published for Vercel Ai Sdk? stack.watch will email you.
Affected Versions
Vercel AI SDK:- Version 5.0.51, <= 5.0.51 is affected.
- Version 6.0.0-beta.* and below 6.0.0-beta.* is unaffected.
- Version 5.1.0-beta.8, <= 5.1.0-beta.8 is affected.
- Version 5.1.0-beta.9 and below 5.1.0-beta.9 is unaffected.
- Version 5.0.52 and below 5.0.52 is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.