LowVulnerability
GHSA-rwvc-j5jr-mgvh: Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files
- Identifiers
- CVE-2025-48985GHSA-rwvc-j5jr-mgvh
- Published
- Record updated
- Affected
- ai < 5.0.52, fixed in 5.0.52, released September 24, 2025, 43 days before disclosure
- ai >= 5.1.0-beta.0, < 5.1.0-beta.9, fixed in 5.1.0-beta.9, released September 24, 2025, 43 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
A vulnerability in Vercel's AI SDK allowed users to bypass filetype whitelists when uploading files. The flaw is tracked as GHSA-rwvc-j5jr-mgvh and is fixed in versions 5.0.52, 5.1.0-beta.9, and 6.0.0-beta.
Mitigation
Fixed in 5.0.52, 5.1.0-beta.9, and 6.0.0-beta. All users are encouraged to upgrade.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- ainpmLLM dependency since 2014-02-21 · 6 tracked dependents
Related items
- MediumFamiliar weaknesses, exploited faster: defending against agentic cyber attacksSimilar attack · UK NCSC
- MediumHackers Exploit N-able MailAssure Flaw While AI Agents Exploit MONAI Label Zero-DaySimilar attack · The Hacker News
- HighCVE-2026-133448: AutoGPT Claude Code CLI prompt preprocessing bypasses tool allow-listSimilar attack · NVD/CVE Database
- CriticalCVE-2026-118285: Azure Machine Learning server-side request forgery allows privilege elevationSimilar attack · NVD/CVE Database
- HighCVE-2026-130164: Hermes Agent code execution via screen environment file mergeSimilar attack · NVD/CVE Database