fix(entraid): bump @azure/msal-node to 5.x to drop vulnerable uuid #3269
Merged
Conversation
…VE-2026-41907) The uuid@8.3.2 dependency in @azure/msal-node 2.x and 3.x is impacted by CVE-2026-41907 (CVSS 9.8). @azure/msal-node 5.1.5 replaces uuid with node:crypto. @azure/identity 4.13.1 also moves to msal-node 5.x, closing the second transitive chain to uuid. Both upgrades require Node.js >= 20, so bump engines.node across all packages and drop Node 18 from the test matrix. Refs: redis#3268, GHSA-6mrv-vw7r-r73q Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
PavelPashov
approved these changes
May 14, 2026
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-2026-41907)
The uuid@8.3.2 dependency in @azure/msal-node 2.x and 3.x is impacted by CVE-2026-41907 (CVSS 9.8). @azure/msal-node 5.1.5 replaces uuid with node:crypto. @azure/identity 4.13.1 also moves to msal-node 5.x, closing the second transitive chain to uuid. Both upgrades require Node.js >= 20, so bump engines.node across all packages and drop Node 18 from the test matrix.
Refs: #3268, GHSA-6mrv-vw7r-r73q
Description
Checklist
npm testpass with this change (including linting)?Note
Medium Risk
Upgrades
@azure/identity/@azure/msal-nodeacross@redis/entraidto remove a vulnerable transitiveuuiddependency and introduces a breaking runtime requirement (Node.js >=20), which could impact consumers or CI environments still on Node 18.Overview
Updates
@redis/entraidto use@azure/identity@4.13.1and@azure/msal-node@5.x(plus@azure/msal-common) to drop the vulnerable transitiveuuidchain, with correspondingpackage-lock.jsonupdates.Raises
engines.nodeto >=20 across all published packages and removes Node 18 from the GitHub Actions test matrix (tests.yml).Reviewed by Cursor Bugbot for commit 435cf36. Bugbot is set up for automated code reviews on this repo. Configure here.