CVE-2025-48985: vercel ai Improper Input Validation
CVSS: 5.3v3.1MediumAnalyzed
AliasesGHSA-rwvc-j5jr-mgvhCGA-2j98-fxc5-mfwwCGA-3r3m-rjxh-jjqxCGA-574w-522j-5gmxCGA-6c49-7vc9-qcqjCGA-7644-jwv3-p455CGA-79m6-xr6c-c6hvCGA-86r2-6hgw-fhx6CGA-8fjx-h46p-c5vrCGA-992v-rh54-gwqgCGA-9c8r-22f7-hcx9CGA-9q7c-r9q6-f2w4CGA-c65w-9x6w-g6f6CGA-cwrp-4568-9q28CGA-fqh3-7gmj-9f7rCGA-fxv3-3pvc-q2rpCGA-g42h-cfxq-2jw8CGA-g96m-qpjg-v9qcCGA-gh5c-9hvc-2jrmCGA-gjwh-qq8p-hfx9CGA-gpr5-27c8-wq5xCGA-hp4w-v7qj-cqcqCGA-j2xx-pj4j-9c3jCGA-p7h4-gmgm-r4hxCGA-pg6r-qf4j-2hpvCGA-pxc8-mr9c-c9v6CGA-pxh4-2592-qx62CGA-r439-jgwh-vpm8CGA-r44g-jrqm-5j96CGA-r544-vwjv-j8qcCGA-wmhc-rhm9-35v8CGA-x9gf-w3j6-xfqfCGA-xg23-9jgv-8q5v
Published 07-11-2025Last modified 01-12-2025
Vulnerability summary
CVE-2025-48985 is a medium (CVSS 5.3) Improper Input Validation vulnerability in vercel ai. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 19.7% of scored vulnerabilities.
CVSS score
5.3/10
010
Medium · v3.1 (NVD)EPSS score
0.28%
0%100%
Low · +0.02 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 07-11-2025PublishedVulnerability first disclosed.
- 01-12-2025Last modifiedVulnerability information updated.
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. More details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk
CVSS metrics
4 scores · 4 sources · 1 versionMedium 5.3Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NSources4 sources · 3.7–5.3
- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NDiffers
- OSV · NpmEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
+0.02 pp
From 0.27% on 21-09-2026
21-09-202621-10-2026
EPSS score0.28%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard16 products
- kibana-8.17All versions (No fix recorded)
- kibana-8.17-bitnamiAll versions (No fix recorded)
- kibana-8.17-iamguardedAll versions (No fix recorded)
- kibana-8.18All versions (No fix recorded)
- kibana-8.18-bitnamiAll versions (No fix recorded)
Vercel2 products
Npm1 product
- ai< 5.0.52 | ≥ 5.1.0-beta.0, < 5.1.0-beta.9
3 vendors · 19 products
References
6 links- github.com/vercel/aiPACKAGE