RepoJournal
Vercel

@vercel

Next.js + the Vercel platform - frontend infrastructure for the web

Keep up with Vercel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

VERCEL AI HARDENS AGAINST SSRF AND SOCKET LEAKS, NEXT.JS CACHE LAYER GETS DEV PERSISTENCE

By RepoJournal · Filed · About Vercel

Vercel AI shipped critical fixes to block three classes of SSRF bypasses in download validation, while Next.js dev server now persists private cache entries across reloads.

The AI SDK's `downloadBlob`, `download`, and MCP client functions had multiple security gaps in their URL validation and socket handling that have been patched [1][2]. The SSRF guard now blocks hostname tricks and redirect bypasses, and rejected downloads properly cancel their response bodies to prevent TCP socket leaks that could pile up under sustained load [2]. On the MCP side, once a client receives its first valid SSE endpoint, that URL stays locked in and later endpoint events are ignored, preventing a malicious event from hijacking subsequent tool calls [3]. Meanwhile, Next.js dev server improvements make cache behavior more realistic: private `'use cache'` entries now persist in a built-in in-memory handler so warm reloads stay fast [4], and stale cache entries serve until actual expiration rather than dropping at revalidate time [5]. The Vercel CLI got two wins for integration discovery: `vercel integration discover --category <slug>` filters the marketplace, and a new `vercel integration categories` subcommand lists valid slugs [7]. Node framework preset detection now works without package.json, defaulting to ESM format for a bare `server.ts` [6].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] fix(provider-utils,ai): harden download SSRF guard against hostname and redirect bypasses (#15980) vercel/ai
  2. [2] fix(provider-utils): cancel response body on download rejection to prevent socket leak ↗ vercel/ai
  3. [3] fix(mcp): lock first sse endpoint received via event ↗ vercel/ai
  4. [4] Persist `'use cache: private'` entries in dev (#94694) vercel/next.js
  5. [5] Serve stale `'use cache'` entries in the dev server until they expire ↗ vercel/next.js
  6. [6] Support Node framework preset without a package.json (#16614) vercel/vercel
  7. [7] [cli] Add --category filter + integration categories subcommand (#16576) vercel/vercel

Quick answers

What shipped in Vercel on June 12, 2026?
Vercel AI shipped critical fixes to block three classes of SSRF bypasses in download validation, while Next.js dev server now persists private cache entries across reloads. In total, 66 commits, 70 pull requests, and 22 releases landed.
Who contributed to Vercel on June 12, 2026?
3 developers shipped this update, including gr2m, aayush-kapoor, and unstubbable.
What were the notable Vercel updates?
fix(provider-utils,ai): harden download SSRF guard against hostname and redirect bypasses (#15980), fix(provider-utils): cancel response body on download rejection to prevent socket leak, and fix(mcp): lock first sse endpoint received via event.

More from @vercel

Daily updates, in your inbox

Follow Vercel

Keep up with Vercel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.