chore(deps): bump zod to 4.6.7
Merged
DI
3d ago+13+13+01234567890123456789-8-8-0123456789
zod below 4.6.6 can exhaust memory while validating oversized constrained collections (GHSA-mrhx-c7xc-m3w5, high). The catalog pins 4.3.6, used by @react-email/ui (bundled into the preview server) and apps/web.
Changes
pnpm-workspace.yamlcatalog:zod4.3.6 → 4.6.7 (2026-10-12, the latest 4.6 patch; includes the 4.6.6 fix).pnpm-lock.yaml: re-locked. Onlypackages/uiandapps/webmove..changeset/ui-bump-zod.md: patch for@react-email/ui.
With #3834 removing zod 3 (via pkg-pr-new), this leaves no vulnerable zod in the lockfile.
Testing
| Suite | Result |
|---|---|
| render | 90/90 |
| react-email | 319/319 |
| ui | 113/113 |
| editor (unit + browser) | 540/540 |
pnpm install --frozen-lockfile,pnpm build,pnpm typecheck, biome andscripts/check-dependency-versions.tspass. The lockfile is stable under anotherpnpm install --lockfile-only.@react-email/uiserver action: calledexportSingleTemplatedirectly with no Resend API key (nothing reaches the network).validationErrorsand theserverErrorfallback have the same shape as on 4.3.6.- Preview server:
email devonapps/demorenders and hot-reloads, no page errors. apps/webtests: 36 passed, 68 skipped, same ascanaryon 4.3.6. That includes all 11/api/send/testroute tests (Resend, Supabase and rate limiters stubbed), among them thezodcases: an invalidtoaddress and a missing field both return 400.apps/webAPI: rannext startand posted invalid bodies to/api/check-spam. Both return 400 with theZodErrorissues, before any network call.
Summary by cubic
Bumps zod from 4.3.6 to 4.6.7 to fix a high-severity vulnerability (GHSA-mrhx-c7xc-m3w5) where zod below 4.6.6 can exhaust memory while validating oversized constrained collections.
- Updates the catalog entry in
pnpm-workspace.yamland re-lockspnpm-lock.yaml; only@react-email/uiandapps/webmove. - Adds a patch changeset for
@react-email/ui.