Vulnerabilities · 2025 · Vercel
CVE-2025-48985
Vercel Ai vulnerability
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
Affected products
Ai. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vercel Ai runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk · Vendor Advisory
- github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-48985
- github.com/vercel/ai/issues/8881
- github.com/advisories/GHSA-rwvc-j5jr-mgvh
- nvd.nist.gov/vuln/detail/CVE-2025-48985
- cve.org/CVERecord?id=CVE-2025-48985
More vulnerabilities in Vercel products
CVE-2025-67779CVE-2025-57822CVE-2025-57752CVE-2025-55184CVE-2025-55183CVE-2025-55182CVE-2025-55173CVE-2025-49826All 34
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.