Skip to main content
VulnerabilityPublished Updated

CVE-2025-48985: Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files

Affects aiSource GCVE Database

0
Compare
Authoritative record:CVE-2025-48985· Low 3.7

Not known to be exploited · CVSS 3.7 Low : upgrade to 5.0.52 when convenient.

Data as of 21 Nov 2026, 03:48 UTC

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (hackerone)CVSS 3.13.7
Patch
Available – fixed in 5.0.52, 5.1.0-beta.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Upgrade ai to 5.0.52; ai to 5.1.0-beta.9.

Affected software

ProductAffectedFixed in
npmaiAffected
  • <5.0.52
Fixed in
  • 5.0.52
npmaiAffected
  • >=5.1.0-beta.0 <5.1.0-beta.9
Fixed in
  • 5.1.0-beta.9

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and users should upgrade to version 5.0.52, 5.1.0-beta.9, or later to remediate this vulnerability. No additional mitigation steps are indicated.

Description

A vulnerability in Vercel’s AI SDK allowed bypassing of filetype whitelists during file uploads. This flaw was addressed in versions 5.0.52, 5.1.0-beta.9, and later. Users running affected versions are advised to upgrade to mitigate the risk.

References

Community reviews

Loading reviews…