Skip to content

[GHSA-mrhx-c7xc-m3w5] Add affected version range for zod (< 4.6.6) - #10339

Merged
advisory-database[bot] merged 1 commit into
github:MohamedEslam04/advisory-improvement-10339from
MohamedEslam04:MohamedEslam04/advisory-improvement-GHSA-mrhx-c7xc-m3w5
Oct 23, 2026
Merged

advisory-database[bot] merged 1 commit into
github:MohamedEslam04/advisory-improvement-10339from
MohamedEslam04:MohamedEslam04/advisory-improvement-GHSA-mrhx-c7xc-m3w5

Conversation

@MohamedEslam04

Copy link
Copy Markdown

Updates

  • Affected products
  • References

Comments
The advisory currently has an empty affected list, 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.6 and v4.6.7 tags. 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, introduced 0, fixed 4.6.6. Also added the fix PR and the package repository as references.

@github-actions
github-actions Bot changed the base branch from main to MohamedEslam04/advisory-improvement-10339 October 13, 2026 15:27
@advisory-database
advisory-database Bot merged commit a528245 into github:MohamedEslam04/advisory-improvement-10339 Oct 23, 2026
2 checks passed
@advisory-database

Copy link
Copy Markdown
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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant