Antidote
Warning

vulnerableVerifiedAGT-2025-0015

Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files

A real bug in otherwise honest software. Check your version against the affected range below.

GHSA-rwvc-j5jr-mgvh · CVE-2025-48985

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.

Imported from OSV GHSA-rwvc-j5jr-mgvh.

Affected

npm:ai
< 5.0.52 (fixed in 5.0.52)
npm:ai
>= 5.1.0-beta.0, < 5.1.0-beta.9 (fixed in 5.1.0-beta.9)

Field marks

Kind
package
Reported by
osv-import

Sources

Wrong or outdated? Open an issue or PR against corpus/entries/AGT-2025-0015.json.