Packages

zod

4.6.7 · 12 Oct 2026MIT468.6M / weekRepositoryHomepagenpmAtom feed

Your version

4.6.6

11 Oct 2026

4.6.7 is the newest release of 4.x.

In short

2 fixed10 internal

Security

Fixes 1 advisory that affected 4.6.5

Release note

Six malicious commits pushed to main on September 21 with a compromised git credential were reverted the same day in #6620 and have since been removed from the history of main. None were ever published to npm. The npm provenance for 4.6.6 names 284243f, the pre-rewrite copy of 9c21983 with identical contents.

Commits

  • types: Declare record output and input as members, not base type arguments

  • v4: Check array, set and map size bounds before parsing elements

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.