{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-48985","id":"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.\r\n\r\nMore details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk","descriptionLong":"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","published":"2025-11-07T00:43:28.027Z","updated":"2026-10-28T02:30:46.989670719Z","reserved":"2025-05-29T15:00:04.775Z","status":"Analyzed","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"hackerone"},"metrics":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"hackerone"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"hackerone.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["Vercel AI SDK"],"affectedProducts":[{"vendor":"Vercel","product":"AI SDK","defaultStatus":null,"versions":[{"version":"5.0.51","status":"affected","lessThanOrEqual":"5.0.51","versionType":"semver"},{"version":"6.0.0-beta.*","status":"unaffected","lessThan":"6.0.0-beta.*","versionType":"semver"},{"version":"5.1.0-beta.8","status":"affected","lessThanOrEqual":"5.1.0-beta.8","versionType":"semver"},{"version":"5.1.0-beta.9","status":"unaffected","lessThan":"5.1.0-beta.9","versionType":"semver"},{"version":"5.0.52","status":"unaffected","lessThan":"5.0.52","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"ai","purl":"pkg:npm/ai","ranges":["<5.0.52",">=5.1.0-beta.0 <5.1.0-beta.9"],"fixed":["5.0.52","5.1.0-beta.9"],"advisory":"GHSA-rwvc-j5jr-mgvh"}],"cwes":["CWE-20","CWE-682"],"aliases":["GHSA-rwvc-j5jr-mgvh"],"references":[{"url":"https://github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed","tags":["Patch","fix","web"]},{"url":"https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48985.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48985","tags":["advisory"]},{"url":"https://github.com/vercel/ai/issues/8881","tags":["web"]},{"url":"https://github.com/vercel/ai","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00284,"epssPercentile":0.21207,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-48985","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48985","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-48985","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rwvc-j5jr-mgvh","ok":true,"note":"GHSA-rwvc-j5jr-mgvh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-48985","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}