Vulnerability
CVE-2025-48985
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
33 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-2j98-fxc5-mfww
- CGA-3r3m-rjxh-jjqx
- CGA-574w-522j-5gmx
- CGA-6c49-7vc9-qcqj
- CGA-7644-jwv3-p455
- CGA-79m6-xr6c-c6hv
- CGA-86r2-6hgw-fhx6
- CGA-8fjx-h46p-c5vr
- CGA-992v-rh54-gwqg
- CGA-9c8r-22f7-hcx9
- CGA-9q7c-r9q6-f2w4
- CGA-c65w-9x6w-g6f6
- CGA-cwrp-4568-9q28
- CGA-fqh3-7gmj-9f7r
- CGA-fxv3-3pvc-q2rp
- CGA-g42h-cfxq-2jw8
- CGA-g96m-qpjg-v9qc
- CGA-gh5c-9hvc-2jrm
- CGA-gjwh-qq8p-hfx9
- CGA-gpr5-27c8-wq5x
- CGA-hp4w-v7qj-cqcq
- CGA-j2xx-pj4j-9c3j
- CGA-p7h4-gmgm-r4hx
- CGA-pg6r-qf4j-2hpv
- CGA-pxc8-mr9c-c9v6
- CGA-pxh4-2592-qx62
- CGA-r439-jgwh-vpm8
- CGA-r44g-jrqm-5j96
- CGA-r544-vwjv-j8qc
- CGA-wmhc-rhm9-35v8
- CGA-x9gf-w3j6-xfqf
- CGA-xg23-9jgv-8q5v
-
GHSA-rwvc-j5jr-mgvh
Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files