Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-48985
November 07, 2025
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 Packages
https://github.com/vercel/ai.git (GITHUB):
Affected version(s) =ai@5.0.51 <ai@5.0.52
Fix Suggestion:
Update to version ai@5.0.52
ai (NPM):
Affected version(s) >=5.1.0-beta.0 <5.1.0-beta.9
Fix Suggestion:
Update to version 5.1.0-beta.9
ai (NPM):
Affected version(s) >=0.0.0-bcf970c6-20260113125304 <5.0.52
Fix Suggestion:
Update to version 5.0.52
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Input Validation
Incorrect Calculation
EPSS
Base Score:
0.17