{"id":"GHSA-rwvc-j5jr-mgvh","revision":"21728f6ccf544c1c89d6bef3e40c9fb9","records":[{"revision":"21728f6ccf544c1c89d6bef3e40c9fb9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-rwvc-j5jr-mgvh","aliases":["CVE-2025-48985"],"title":"Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files","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.","state":0,"publishedAt":"2025-11-07T03:30:25+00:00","modifiedAt":"2026-09-10T03:50:58.5973265+00:00","affected":[{"ecosystem":"npm","name":"ai","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.0.52"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"ai","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"5.1.0-beta.0"},{"kind":"fixed","version":"5.1.0-beta.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2025-48985","https://github.com/vercel/ai/issues/8881","https://github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed","https://github.com/vercel/ai","https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk"],"sourceUrl":"https://github.com/advisories/GHSA-rwvc-j5jr-mgvh","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rwvc-j5jr-mgvh","identifiers":["GHSA-rwvc-j5jr-mgvh","CVE-2025-48985"]},"retained":false,"historicalAffected":[]}],"coverage":[]}