Fix immutable Prototype Pollution vulnerability (CVE-2026-29063)#2314
Fix immutable Prototype Pollution vulnerability (CVE-2026-29063)#2314JanPokorny merged 2 commits intomainfrom
Conversation
…6-29063) Add pnpm override to force immutable >= 5.1.5, fixing the Prototype Pollution vulnerability (GHSA-wf6x-7x77-mvgw) in the transitive dependency chain through sass and sass-embedded. https://claude.ai/code/session_01Eh1WktrxtXkU11zWJtDisj
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a critical security vulnerability (CVE-2026-29063) related to Prototype Pollution within the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request correctly addresses the Prototype Pollution vulnerability (GHSA-wf6x-7x77-mvgw) in the immutable package by adding an override in pnpm-workspace.yaml to enforce version 5.1.5. The changes in pnpm-lock.yaml are consistent with this override. I have one suggestion to improve the accuracy of the comment associated with this security fix.
| # Fix CVE-2024-45296 / GHSA-9wv6-86v2-598j: path-to-regexp ReDoS vulnerability | ||
| # Transitive via mintlify -> @mintlify/previewing -> express@4.18.2 | ||
| "path-to-regexp@<0.1.10": "0.1.10" | ||
| # Fix CVE-2026-29063 / GHSA-wf6x-7x77-mvgw: immutable Prototype Pollution vulnerability |
There was a problem hiding this comment.
The CVE identifier CVE-2026-29063 appears to be incorrect. The year 2026 is in the future, and the associated GitHub Security Advisory GHSA-wf6x-7x77-mvgw does not have a CVE assigned to it. To avoid confusion and maintain accurate documentation, it's best to remove the incorrect CVE reference from the comment.
# Fix GHSA-wf6x-7x77-mvgw: immutable Prototype Pollution vulnerabilitySigned-off-by: Jan Pokorný <JenomPokorny@gmail.com>
Summary
Adds an override in
pnpm-workspace.yamlto fix CVE-2026-29063 / GHSA-wf6x-7x77-mvgw, a Prototype Pollution vulnerability in the immutable package. The override ensures that immutable is pinned to version 5.1.5 or higher when versions 5.0.0 through 5.1.4 would otherwise be resolved.This vulnerability is transitive via sass and sass-embedded dependencies.
Linked Issues
Documentation
https://claude.ai/code/session_01Eh1WktrxtXkU11zWJtDisj