CVE-2025-48985: Vercel's AI SDK's filetype allowlists can be bypassed when uploading files
(updated )
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 allowlists when uploading files. All users are encouraged to upgrade.
References
Code Behaviors & Features
Detect and mitigate CVE-2025-48985 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →