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

Advisory record · `GHSA-xcx6-jx8p-x3h5`

- **Identifiers:** `GHSA-xcx6-jx8p-x3h5` · `CVE-2026-109461`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-346](https://cwe.mitre.org/data/definitions/346.html)
- **Tags:** [CWE-346](https://agentprime.io/advisories/tag/cwe-346.md)
- **Published:** 23 Oct 2026
- **Updated:** 23 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 Oct 2026, 22:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `@azure/msal-node` (npm): affected `>=5.0.0-beta.0, <7.1.0`; fixed in `7.1.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The @azure/msal-node package (Microsoft Authentication Library for Node.js) is vulnerable in versions 5.0.0-beta.0 up to but not including 7.1.0, where an origin validation error in the authorization code flow can let an unauthorized attacker disclose information over a network. The source does not describe the exact data exposed or the precise conditions required beyond network access. Upgrade to version 7.1.0 or later; until then, the source suggests passing only the auth_code to acquireTokenByCode.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C`, from CNA (microsoft)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0036, the 30th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 16 Oct 2026, 17:11 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-109461)
- 31 Oct 2026, 13:33 UTC: First seen by agentprime
- 31 Oct 2026, 13:33 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-xcx6-jx8p-x3h5)

## Sources

- [GitHub Advisory Database: GHSA-xcx6-jx8p-x3h5](https://github.com/advisories/GHSA-xcx6-jx8p-x3h5)
- [OSV: GHSA-xcx6-jx8p-x3h5](https://osv.dev/vulnerability/GHSA-xcx6-jx8p-x3h5)
- <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>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-xcx6-jx8p-x3h5>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-xcx6-jx8p-x3h5/>. Everything for agents: <https://agentprime.io/llms.txt>.
