Repository navigation
[GHSA-mrhx-c7xc-m3w5] Add affected version range for zod (< 4.6.6) - #10339
Merged
advisory-database[bot] merged 1 commit intoOct 23, 2026
Conversation
github-actions
Bot
changed the base branch from
main
to
MohamedEslam04/advisory-improvement-10339
October 13, 2026 15:27
Merged
5 tasks done
advisory-database
Bot
merged commit Oct 23, 2026
a528245
into
github:MohamedEslam04/advisory-improvement-10339
2 checks passed
Contributor
|
Hi @MohamedEslam04! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
Comments
The advisory currently has an empty
affectedlist, so scanners treat every zod version as vulnerable.The issue was fixed in zod 4.6.6 (published to npm 2026-10-11) by colinhacks/zod#6652, "fix(v4): check array, set and map size bounds before parsing elements", merged 2026-10-09. The fix commit is present in the
v4.6.6andv4.6.7tags. The maintainer closed the original report, colinhacks/zod#1872, as completed the same day, noting that as of #6652 a bound like.max()rejects an oversized array before any element is parsed. This matches the advisory text ("through 4.6.5").Proposed range:
npm/zod, introduced0, fixed4.6.6. Also added the fix PR and the package repository as references.