{"schemaVersion":3,"id":"CVE-2025-48985","aliases":["GHSA-rwvc-j5jr-mgvh","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"],"status":"published","duplicateOf":null,"title":null,"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.\n\nMore details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk","dates":{"published":"2025-11-07T00:43:28.027Z","modified":"2025-12-01T20:12:57.508Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00284,"percentile":0.19771,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.019000000000000006,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00265},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00284,"percentile":0.19771}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00284,"percentile":0.19771}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"chainguard","product":"kibana-8.17","name":"kibana-8.17","label":"kibana-8.17","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-8.17","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-8.17-bitnami","name":"kibana-8.17-bitnami","label":"kibana-8.17-bitnami","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-8.17-bitnami","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-8.17-iamguarded","name":"kibana-8.17-iamguarded","label":"kibana-8.17-iamguarded","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-8.17-iamguarded","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-8.18","name":"kibana-8.18","label":"kibana-8.18","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-8.18","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-8.18-bitnami","name":"kibana-8.18-bitnami","label":"kibana-8.18-bitnami","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-8.18-bitnami","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-8.18-iamguarded","name":"kibana-8.18-iamguarded","label":"kibana-8.18-iamguarded","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-8.18-iamguarded","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-8.19","name":"kibana-8.19","label":"kibana-8.19","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-8.19","purlType":"apk","versions":[{"text":"< 8.19.9-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.19.9-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-8.19-bitnami","name":"kibana-8.19-bitnami","label":"kibana-8.19-bitnami","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-8.19-bitnami","purlType":"apk","versions":[{"text":"< 8.19.9-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.19.9-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-8.19-iamguarded","name":"kibana-8.19-iamguarded","label":"kibana-8.19-iamguarded","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-8.19-iamguarded","purlType":"apk","versions":[{"text":"< 8.19.9-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.19.9-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-9.0","name":"kibana-9.0","label":"kibana-9.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-9.0","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-9.0-bitnami","name":"kibana-9.0-bitnami","label":"kibana-9.0-bitnami","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-9.0-bitnami","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-9.0-iamguarded","name":"kibana-9.0-iamguarded","label":"kibana-9.0-iamguarded","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-9.0-iamguarded","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-9.1","name":"kibana-9.1","label":"kibana-9.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-9.1","purlType":"apk","versions":[{"text":"< 9.1.9-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.1.9-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-9.1-iamguarded","name":"kibana-9.1-iamguarded","label":"kibana-9.1-iamguarded","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-9.1-iamguarded","purlType":"apk","versions":[{"text":"< 9.1.9-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.1.9-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-9.2","name":"kibana-9.2","label":"kibana-9.2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-9.2","purlType":"apk","versions":[{"text":"< 9.2.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.2.3-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kibana-9.2-iamguarded","name":"kibana-9.2-iamguarded","label":"kibana-9.2-iamguarded","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-9.2-iamguarded","purlType":"apk","versions":[{"text":"< 9.2.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.2.3-r0","eol":null,"hubHref":null},{"vendor":"Npm","product":"ai","name":"ai","label":"ai","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/ai","purlType":"npm","versions":[{"text":"< 5.0.52","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.1.0-beta.0, < 5.1.0-beta.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.52 | ≥ 5.1.0-beta.0, < 5.1.0-beta.9","eol":null,"hubHref":null},{"vendor":"vercel","product":"ai","name":"ai","label":"ai","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.0.52","noFixRecorded":false,"fixedIn":null},{"text":"5.1.0:beta0","noFixRecorded":false,"fixedIn":null},{"text":"5.1.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"5.1.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"5.1.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"5.1.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"5.1.0:beta5","noFixRecorded":false,"fixedIn":null},{"text":"5.1.0:beta6","noFixRecorded":false,"fixedIn":null},{"text":"5.1.0:beta7","noFixRecorded":false,"fixedIn":null},{"text":"5.1.0:beta8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.52 | 5.1.0:beta0 | 5.1.0:beta1 | 5.1.0:beta2 | 5.1.0:beta3 | 5.1.0:beta4 | 5.1.0:beta5 | 5.1.0:beta6 | 5.1.0:beta7 | 5.1.0:beta8","eol":null,"hubHref":"/vendor/vercel/ai"},{"vendor":"vercel","product":"ai sdk","name":"AI SDK","label":"ai sdk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.0.51","noFixRecorded":false,"fixedIn":null},{"text":"5.1.0-beta.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.0.51 | 5.1.0-beta.8","eol":null,"hubHref":"/vendor/vercel/ai_sdk"}],"affectedCount":19,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed","label":"github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed","hostname":"github.com","tags":["WEB","FIX","Patch"]},{"url":"https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk","label":"vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk","hostname":"vercel.com","tags":["WEB","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48985","label":"nvd.nist.gov/vuln/detail/CVE-2025-48985","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vercel/ai/issues/8881","label":"github.com/vercel/ai/issues/8881","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/vercel/ai","label":"github.com/vercel/ai","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48985.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48985.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-QRXC-26QF-C7F4"]},"timeline":[{"kind":"published","date":"2025-11-07T00:43:28.027Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-01T20:12:57.508Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T06:29:08.562Z","stale":false,"partial":false}}