CVE-2026-59879: patch immutable to v4.3.9#749
Open
celdrake wants to merge 1 commit into
Open
Conversation
Resolves CVE-2026-59879 (High) in immutable. Updated immutable from 3.8.3 to 4.3.9 via npm override without upgrading @openshift-console/dynamic-plugin-sdk. Made-with: Cursor
WalkthroughThe root ChangesDependency overrides
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
celdrake
marked this pull request as ready for review
July 24, 2026 10:58
Collaborator
Author
|
Tested in OCP console. The OCP console is still using v3.8.x, so the runtime will keep running in the existing version. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@package.json`:
- Line 60: Replace the direct immutable 4.3.9 dependency with a v3-compatible
release, or first upgrade `@openshift-console/dynamic-plugin-sdk` to a version
explicitly supporting Immutable.js v4. Do not force immutable v4 while retaining
SDK version 4.19.1; preserve SDK runtime compatibility and add compatibility
coverage if upgrading to v4.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: bebb182f-395b-4d28-8e3f-5671e90f7691
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
package.json
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.
CVE Fix
Vulnerabilities Addressed
Dependabot: https://github.com/flightctl/flightctl-ui/security/dependabot/162 , https://github.com/flightctl/flightctl-ui/security/dependabot/163
Advisory: GHSA-v56q-mh7h-f735, GHSA-xvcm-6775-5m9r
Strategy Justification
CVE-2026-59879 — immutable
@openshift-console/dynamic-plugin-sdk@openshift-console/dynamic-plugin-sdk(ocp-plugin constraint); SDK pinsimmutable: "3.x"and no patched 3.x exists"immutable": "4.3.9"; lockfile updated; SDK stays at 4.19.1No application source changes. Same override pattern as the recent
js-yamlCVE fix, so it is straightforward to backport torelease-1.1andrelease-1.2.Validation
immutableupdated to 4.3.9 via npm override (SDK remains 4.19.1)npm audit/verify.py— CVE-2026-59879 absent)npm run lintPASS;npm run buildandnpm run build:ocpPASSRollback
To revert this change:
Or remove the
"immutable": "4.3.9"entry from rootpackage.jsonoverridesand runnpm install.immutablefrom 3.8.3 to 4.3.9 to address CVE-2026-59879 and CVE-2026-59880; retained thejs-yamloverride.