CVE-2025-48985
Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files
3.7
LOW
CVSS 3.1
EPSS 0.08%
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.
How to fix CVE-2025-48985
To remediate CVE-2025-48985, upgrade the affected package to a fixed version below.
- —upgrade to 5.0.52 or later
Is CVE-2025-48985 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 5.0.52
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |