Origin Validation Error Affecting @azure/msal-node package, versions >=5.0.0-beta.0 <7.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-AZUREMSALNODE-21689163
  • published24 Oct 2026
  • disclosed23 Oct 2026
  • creditUnknown

Introduced: 23 Oct 2026

NewCVE-2026-109461  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

Upgrade @azure/msal-node to version 7.1.0 or higher.

Overview

@azure/msal-node is a Microsoft Authentication Library for Node

Affected versions of this package are vulnerable to Origin Validation Error via the acquireTokenByCode method in ConfidentialClientApplication, which fails to sanitize the caller-supplied authCodePayload before use. An attacker who can influence the authorization code response payload can inject arbitrary fields - such as a manipulated code or nonce - into the token exchange request, potentially bypassing security checks tied to those values and gaining unauthorized access to protected resources.

CVSS Base Scores

version 4.0
version 3.1