Skip to content

GHSA-xcx6-jx8p-x3h5 CVE-2026-109461

MSAL Node authorization code flow may disclose parameters to an attacker-controlled endpoint

Medium npm
Severity
7.5 / 10
Medium · CVSS 3.1
Exploit chance (EPSS)
0.36%
Chance of exploitation in the next 30 days. Higher than 29.96% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-346 Origin Validation Error
Fix
7.1.0
Upgrade @azure/msal-node to this version or later

Description

Impact

Origin validation error in Microsoft Authentication Library (MSAL) for Node.js allows an unauthorized attacker to disclose information over a network. This affects the auth_code flow.

Patches

Version 7.1.0 and higher are patched.

Workarounds

Ensure you pass in only the auth_code to to acquireTokenByCode

Affected versions

npm

PackageVulnerableFixed in
@azure/msal-node
>= 5.0.0-beta.0, < 7.1.0
7.1.0
@azure/msal-node
>= 5.0.0-beta.0, < 7.1.0
7.1.0

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

@azure/msal-node npm → 7.1.0

npm
npm install @azure/msal-node@7.1.0
yarn
yarn add @azure/msal-node@7.1.0
pnpm
pnpm add @azure/msal-node@7.1.0

Severity breakdown

CVSS 3.1 7.5

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Weakness

CWE-346: Origin Validation Error

The product does not properly verify that the source of data or communication is valid.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-m5vv-6r4h-3vj9
Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability
Medium Also affects @azure/msal-node
GHSA-997q-gvvc-jwmx
Electron: openExternal permission requests can be attributed to the wrong origin
Medium Same weakness, CWE-346
GHSA-fw47-9c62-h3vw
Electron: HID and USB permission checks can be attributed to the wrong origin
Medium Same weakness, CWE-346
GHSA-x562-297c-g43g
Electron: Pointer lock permission requests can be attributed to the wrong frame
Medium Same weakness, CWE-346
GHSA-4w7w-5xrc-9h26
undici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirects
Critical Same weakness, CWE-346
GHSA-fq6x-pvr9-888r
Microsoft Security Advisory CVE-2026-96234 - .NET and Visual Studio Information Disclosure Vulnerability
Medium Same weakness, CWE-346
GHSA-9h23-53f4-q947
Nginx UI: Bundled reverse proxy can bypass IP allowlists and enable shared login lockout
Medium Same weakness, CWE-346
GHSA-v2j5-22fr-j62r
AsyncHttpClient: Pooled connections can still be shared across NTLM, Negotiate and proxy logins
High Same weakness, CWE-346
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor