CVE-2025-48985: Vercel AI SDK · Improper Input Validation
Affects Vercel AI SDKSource CVE Database V5
Not known to be exploited · CVSS 3.7 Low · fixed in 5.0.52 : update Vercel AI SDK when convenient.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.0.52
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Vercel AI SDK | Affected
| Fixed in– |
AI-suggested
The primary mitigation is to upgrade the Vercel AI SDK to versions 5.0.52, 5.1.0-beta.9, or 6.0.0-beta where the vulnerability is fixed. Organizations should audit their software dependencies to identify usage of affected SDK versions and enforce timely patching. Additionally, implement strict server-side validation of uploaded files beyond client-side checks, including MIME type verification, file signature validation, and content scanning for malware. Employ application-layer firewalls or web application firewalls (WAFs) to detect and block suspicious file uploads. Restrict file upload permissions and storage locations to minimize potential damage from unauthorized files. Conduct regular security assessments and penetration testing focused on file upload functionalities. Finally, monitor logs and alerts for unusual upload activities and establish incident response procedures to quickly address any exploitation attempts.
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