CVE-2025-48985 Details
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
A vulnerability in Vercel's AI SDK prior to version 5.0.52 and in the 6.0.0-beta series allows users to bypass filetype whitelists during file uploads. This issue arises from improper URL-to-data mapping in the prompt conversion process, enabling the injection of arbitrary content into supported URL slots while circumventing validation mechanisms. The vulnerability affects most functions that handle images or files, except where specific validation has been applied outside the SDK.
Users are advised to upgrade to Vercel AI SDK versions 5.0.52, 5.1.0-beta.9, or 6.0.0-beta. Instructions for upgrading can be found in the Vercel AI SDK documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| vercel ai | < 5.0.52 5.1.0 beta0 5.1.0 beta1 5.1.0 beta2 5.1.0 beta3 5.1.0 beta4 5.1.0 beta5 5.1.0 beta6 5.1.0 beta7 5.1.0 beta8 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 4, 2026 | Initial Analysis | [email protected] |
| Dec 1, 2025 | CVE Modified | CISA-ADP |
| Nov 7, 2025 | New CVE Received | [email protected] |