megachangelog
Feature

Postgres connections now work through Sandbox firewall

Vercel Sandbox firewall now supports connections to hosted Postgres databases by detecting the Postgres TLS negotiation flow and applying domain filtering after the TLS upgrade. Connections to Neon, Supabase, AWS RDS, Nile, and Prisma Postgres are supported by adding database hosts to allowed domains.

can now connect to hosted Postgres databases, including , , , , and . To enable a connection, add the database host to your Sandbox's allowed domains.Vercel SandboxNeonSupabaseAWS RDSNilePrisma Postgres

When is used with Vercel Sandbox, the sandbox firewall restricts outbound network access by checking the domain name during a connection's TLS handshake. This works seamlessly for HTTPS traffic, where the domain is visible at the start of the connection.SNI based filtering

Postgres, however, negotiates TLS differently. A Postgres client first opens a plain TCP connection and upgrades to TLS. Because the domain isn't available when the firewall first needs it, Postgres connections through a standard domain-restricted Sandbox would fail.then

The Sandbox firewall now adjusts for the Postgres TLS negotiation flow. It detects the protocol's startup sequence, waits for the TLS upgrade, and then applies your domain policy before forwarding the connection to the database. No changes are needed to your code or database configuration.

Here's a full example: create a Sandbox, install a Postgres client, lock down the network to only the database host, and run a query.

Learn more about the .Sandbox firewall

Read more

Background

What changed

Connecting to hosted database

Important to know

  • Domain-based rules rely on the hostname being visible during the TLS handshake, so clients must connect with or higher. If your database doesn't support TLS, you can allow it by instead. Most managed Postgres providers require TLS by default.TLS is required: sslmode=requireIP range

  • Clients using will fall back to TLS automatically; will not connect.GSSAPI encryption is not supported: gssencmode=prefergssencmode=require

  • If a client uses and the database doesn't support TLS, the connection will fail rather than silently falling back to plain-text.No silent downgrades: sslmode=prefer

sandboxpostgresfirewalldatabasesecurity

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Announcement2026.10.19

Updates to Hobby and Pro Terms of Service

Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.

termsbillingcreditspolicylegal
Announcement

Mercury 3 now available on AI Gateway

Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.

ai-gatewaymodelsinferencellmlaunch
Announcement

MiniMax M3.1 Flash now available on AI Gateway for free

MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.

ai-gatewaymodelscodingagentsapi
See all Vercel changes →