CVE-2025-48985: Vercel AI SDK - Input Validation Bypass
- Cve: CVE-2025-48985
- Name: Vercel AI SDK - Input Validation Bypass
- 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
- Impact: Users can bypass filetype restrictions, potentially leading to unauthorized file uploads and security risks.
- Remediation: Upgrade to versions 5.0.52, 5.1.0-beta.9, 6.0.0-beta or later.
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00284
- Epss percentile: 0.21195
- Assignee: [email protected]
- Published at: 2025-11-07T01:15:36Z
- Age in days: 382
- Modified at: 2026-10-07T21:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-48985
- Nvd status: analyzed
- Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Hackerone
- Reports: 13
- Rank: 2075
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed | nvd | Patch |
| https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vercel:ai | = 5.1.0 beta8, = 5.1.0 beta7, = 5.1.0 beta6, = 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.0.52 | no | nvd | /v1/products/vercel/ai |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| vercel/ai | commit, issues, package | yes | /v1/repositories/vercel/ai |
Index
- Repositories: 90
- Repositories high signal: 58
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 13
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts