CVE-2026-120778: Microsoft Security Advisory CVE-2026-120778 - Aspire Elevation of Privilege Vulnerability
Published 2026-11-11 · Updated 2026-11-11 · Also known as GHSA-m63f-xhvm-6mv5
Summary
The Aspire CLI contains an elevation of privilege vulnerability due to the use of insecure temporary directories during build processes. Users on Linux and macOS environments should update to version 13.6.5 or later to mitigate this risk.
Who is affected
This vulnerability allows a local attacker with access to a shared temporary directory to influence MSBuild response-file discovery and execute code with the privileges of the user running the CLI. It specifically affects CLI-generated server and integration builds, such as those initiated by 'aspire sdk generate', 'dump', or 'export'.
Exploitability
The vulnerability is rated as High (CVSS 7.3) and requires local access with low privileges and user interaction. It is not currently listed in the CISA Known Exploited Vulnerabilities catalog, and the EPSS score of 0.004 indicates a low probability of exploitation.
Remediation
- Update Aspire CLI to version 13.6.5 or later.
- If installed as a .NET tool, update the Aspire.Cli package to 13.6.5.
- If using npm, update @microsoft/aspire-cli and all its platform-specific dependencies to version 13.6.5.
How to check your project
- Check the currently installed version of the Aspire CLI tool or the npm package @microsoft/aspire-cli in your project files.
- Verify the versions of platform-specific dependencies (e.g., @microsoft/aspire-cli-linux-x64) to ensure they are also at 13.6.5.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| NuGet | Aspire.Cli |
>= 13.2.0, < 13.6.5 | 13.6.5 | dotnet add package Aspire.Cli --version 13.6.5 |
| NuGet | Aspire.Cli.linux-arm64 |
>= 13.3.0, < 13.6.5 | 13.6.5 | dotnet add package Aspire.Cli.linux-arm64 --version 13.6.5 |
| NuGet | Aspire.Cli.linux-musl-x64 |
>= 13.3.0, < 13.6.5 | 13.6.5 | dotnet add package Aspire.Cli.linux-musl-x64 --version 13.6.5 |
| NuGet | Aspire.Cli.linux-x64 |
>= 13.3.0, < 13.6.5 | 13.6.5 | dotnet add package Aspire.Cli.linux-x64 --version 13.6.5 |
| NuGet | Aspire.Cli.osx-arm64 |
>= 13.3.0, < 13.6.5 | 13.6.5 | dotnet add package Aspire.Cli.osx-arm64 --version 13.6.5 |
| NuGet | Aspire.Cli.osx-x64 |
>= 13.3.0, < 13.6.5 | 13.6.5 | dotnet add package Aspire.Cli.osx-x64 --version 13.6.5 |
| npm | @microsoft/aspire-cli |
>= 13.4.2, < 13.6.5 | 13.6.5 | npm install @microsoft/[email protected] |
| npm | @microsoft/aspire-cli-linux-arm64 |
>= 13.4.2, < 13.6.5 | 13.6.5 | npm install @microsoft/[email protected] |
| npm | @microsoft/aspire-cli-linux-musl-x64 |
>= 13.4.2, < 13.6.5 | 13.6.5 | npm install @microsoft/[email protected] |
| npm | @microsoft/aspire-cli-linux-x64 |
>= 13.4.2, < 13.6.5 | 13.6.5 | npm install @microsoft/[email protected] |
| npm | @microsoft/aspire-cli-osx-arm64 |
>= 13.4.2, < 13.6.5 | 13.6.5 | npm install @microsoft/[email protected] |
| npm | @microsoft/aspire-cli-osx-x64 |
>= 13.4.2, < 13.6.5 | 13.6.5 | npm install @microsoft/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
Are Windows systems affected?
No, the advisory specifically notes that the affected scenario concerns non-Windows systems (Linux and macOS).
Does updating my .NET runtime or SDK automatically fix this?
No, Aspire ships independently of .NET, so updating your .NET installation does not automatically update the Aspire CLI.
What is the specific weakness involved?
The issue is classified as CWE-379, which involves the creation of temporary files in directories with insecure permissions.
Original advisory description
References
- WEB https://github.com/microsoft/aspire/security/advisories/GHSA-m63f-xhvm-6mv5
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-120778
- WEB https://github.com/dotnet/announcements/issues/519
- WEB https://github.com/microsoft/aspire/issues/22101
- WEB https://github.com/microsoft/aspire/pull/22071
- WEB https://github.com/microsoft/aspire/commit/1ecd7cc70b5a5a5b8571fe3af69faa1646b8de47
- PACKAGE https://github.com/microsoft/aspire
- WEB https://github.com/microsoft/aspire/releases/tag/v13.6.5
- WEB https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120778
Source records: GHSA-m63f-xhvm-6mv5 (OSV.dev) · EPSS by FIRST, 2026-11-21.