Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

### 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

Products
@azure/msal-node
Affected versions
Not specified
Fixed versions
7.1.0
CVEs
CVE-2026-109461
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 03:20 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 23 Oct 2026, 22:16 UTC

### 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

osv:GHSA-xcx6-jx8p-x3h5

@azure/msal-node

Fixed versions: 7.1.0

Complete source record
{
  "id": "1e6a36032aa3476d2006691143d70ef990d604eb67d68b7b671d311b7797d9fd",
  "url": "https://osv.dev/vulnerability/GHSA-xcx6-jx8p-x3h5",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MSAL Node authorization code flow may disclose parameters to an attacker-controlled endpoint",
    "summary": "### 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",
    "evidence": "osv:GHSA-xcx6-jx8p-x3h5",
    "products": [
      {
        "name": {
          "value": "@azure/msal-node",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.1.0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "GHSA-xcx6-jx8p-x3h5",
      "aliases": [
        "CVE-2026-109461",
        "GHSA-xcx6-jx8p-x3h5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "5.0.0-beta.0"
                },
                {
                  "fixed": "7.1.0"
                }
              ]
            }
          ],
          "package": {
            "name": "@azure/msal-node",
            "purl": "pkg:npm/%40azure/msal-node",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-xcx6-jx8p-x3h5/GHSA-xcx6-jx8p-x3h5.json"
          }
        }
      ],
      "modified": "2026-10-23T22:30:05.010413241Z",
      "provider": "osv",
      "references": [
        "https://github.com/AzureAD/microsoft-authentication-library-for-js/security/advisories/GHSA-xcx6-jx8p-x3h5",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-109461",
        "https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/8901",
        "https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/f550958586475dbfeb1cd44be14a2d653728850e",
        "https://github.com/AzureAD/microsoft-authentication-library-for-js",
        "https://github.com/AzureAD/microsoft-authentication-library-for-js/releases/tag/msal-node-v7.1.0",
        "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-109461"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-346"
        ],
        "severity": "HIGH",
        "github_reviewed": true,
        "nvd_published_at": "2026-10-16T18:17:31Z",
        "github_reviewed_at": "2026-10-23T22:16:44Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-109461",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 427064,
  "published_at": "2026-10-23T22:16:44+00:00"
}