{"id":"CVE-2025-48985","aliases":["CVE-2025-48985","GHSA-rwvc-j5jr-mgvh"],"related":[],"kind":"vulnerability","state":"published","title":"Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files","summary":"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.\n\nMore details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nMore details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad en el SDK de IA de Vercel ha sido corregida en las versiones 5.0.52, 5.1.0-beta.9 y 6.0.0-beta. Este problema podría haber permitido a los usuarios eludir las listas blancas de tipos de archivo al subir archivos. Se recomienda a todos los usuarios que actualicen.\n\nMás detalles: HTTPS://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk","source":"nvd"}],"published":"2025-11-07T00:43:28.027Z","modified":"2026-10-07T21:10:00.200Z","severity":{"scorer":"hackerone","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"hackerone","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-682"],"affected":[{"ranges":[{"type":"semver","introduced":"5.0.51","lastAffected":"5.0.51","status":"affected"},{"type":"semver","introduced":"6.0.0-beta.*","fixed":"6.0.0-beta.*","status":"unaffected"},{"type":"semver","introduced":"5.1.0-beta.8","lastAffected":"5.1.0-beta.8","status":"affected"},{"type":"semver","introduced":"5.1.0-beta.9","fixed":"5.1.0-beta.9","status":"unaffected"},{"type":"semver","introduced":"5.0.52","fixed":"5.0.52","status":"unaffected"}],"vendor":"Vercel","product":"AI SDK","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.0.52"}],"ecosystem":"npm","package":"ai","purl":"pkg:npm/ai","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"5.1.0-beta.0","status":"affected","fixed":"5.1.0-beta.9"}],"ecosystem":"npm","package":"ai","purl":"pkg:npm/ai","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.0.52"},{"status":"affected","version":"5.1.0"},{"status":"affected","version":"5.1.0"},{"status":"affected","version":"5.1.0"},{"status":"affected","version":"5.1.0"},{"status":"affected","version":"5.1.0"},{"status":"affected","version":"5.1.0"},{"status":"affected","version":"5.1.0"},{"status":"affected","version":"5.1.0"},{"status":"affected","version":"5.1.0"}],"vendor":"vercel","product":"ai","cpe":"cpe:2.3:a:vercel:ai:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48985","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/vercel/ai/issues/8881","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vercel/ai","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"hackerone","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-11-07T18:35:11.407Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-48985","url":"https://www.cve.org/CVERecord?id=CVE-2025-48985","licence":"CVE Terms of Use","modified":"2025-12-01T20:12:57.508Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rwvc-j5jr-mgvh","url":"https://github.com/advisories/GHSA-rwvc-j5jr-mgvh","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:58.597Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-48985","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48985","licence":"Public domain","modified":"2026-10-07T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:07.325Z","epss":{"score":0.00284,"percentile":0.22475,"date":"2026-12-01T12:00:22.000Z"}}