CVE Catalog

CVE-2025-48985

LowCVSS 3.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

19th percentile - higher than 19% of all known CVEs

Summary

Vercel's AI SDK has a vulnerability that allows bypassing filetype whitelists when uploading files. The issue is fixed in versions 5.0.52, 5.1.0-beta.9, and 6.0.0-beta.

Risk Assessment

An attacker could upload malicious files that should not be accepted, potentially leading to code execution or other attacks.

Recommendation

Update the AI SDK to one of the patched versions. Review filetype whitelist configurations.

Related vulnerabilities

Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS