{"cve":"CVE-2025-48985","nvd":{"published":"2025-11-07T01:15:36.567","modified":"2026-10-07T21:10:00.200","status":"Analyzed","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.\r\n\r\nMore details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-20"],"references":["https://github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed","https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk"],"products":["vercel:ai"],"source":"nvd","synced_at":"2026-10-19T22:14:53.307938015+00:00"},"epss":{"cve":"CVE-2025-48985","score":0.00284,"percentile":0.20705,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-rwvc-j5jr-mgvh","url":"https://osv.dev/vulnerability/GHSA-rwvc-j5jr-mgvh","summary":"Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files","modified":"2026-09-10T03:50:58.597326499Z","packages":[{"ecosystem":"npm","name":"ai","purl":"pkg:npm/ai","ranges":["<5.0.52"],"fixed":["5.0.52"]},{"ecosystem":"npm","name":"ai","purl":"pkg:npm/ai","ranges":[">=5.1.0-beta.0 <5.1.0-beta.9"],"fixed":["5.1.0-beta.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}