Input Validation Bypass in Vercel AI SDK

3.7LOW

CVE-2025-48985

Key Information:

Vendor

Vercel

Status
CVE ID
CVE ID:
CVE-2025-48985
Vendor
CVE Published:
7 November 2025

Timeline

Exploit known 4 days after it was published

  • πŸ‘Ύ

    Exploit known to exist

  • πŸ“°

    First article discovered by wiz.io

  • Vulnerability published

  • Vulnerability Reserved

Badges

πŸ‘Ύ Exploit ExistsπŸ“° News Worthy

How risky is it?

  • Yes: Works over the network, no login needed
  • Partly: Exploitation or a working exploit reported
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Ai Sdk. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploitation has been reported, so check logs on exposed Ai Sdk systems for unusual requests or new processes from before you patched.

4Why it's rated "Patch this week"
  • Exploitation or a working exploit has been reported.
  • It can be exploited remotely without credentials.
  • Its CVSS severity is low (3.7).

What is CVE-2025-48985?

A vulnerability exists in Vercel’s AI SDK that may enable attackers to bypass filetype whitelists during file uploads. This flaw could potentially allow unauthorized file uploads, leading to security risks for affected systems. Users are strongly advised to upgrade to the newly released versions 5.0.52, 5.1.0-beta.9, or 6.0.0-beta to mitigate this threat and secure their applications. For comprehensive information about this issue, please refer to the Vercel changelog.

Affected Version(s)

AI SDK 5.0.51

AI SDK 5.1.0-beta.8

AI SDK 6.0.0-beta.*

News Articles

CVE-2025-48985 Impact, Exploitability, and Mitigation Steps | Wiz

Understand the critical aspects of CVE-2025-48985 with a detailed vulnerability assessment, exploitation potential, affected technologies, and remediation guidance.

References

SVG Injection in Satori Library

CVE-2026-94545
VercelSatoriπŸ˜„πŸ‘Ύ5.3MEDIUM

Path Traversal in Next.js Framework

CVE-2026-75604
VercelNext.jsπŸ˜„πŸ‘Ύ9CRITICAL

Server-Side Request Forgery in Next.js

CVE-2026-44578
VercelNext.jsπŸ”₯πŸ˜„πŸ‘Ύ8.6HIGH
View more Vercel vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
3.7
Severity:
LOW
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.