CVE-2026-120778 — Vulnerability in Aspire.Cli.linux-arm64
Microsoft Security Advisory CVE-2026-120778 - Aspire Elevation of Privilege Vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.44%). Schedule for your next planned update.
Does your project use an affected Aspire.Cli.linux-arm64 version?
Paste your packages.lock.json to check it for CVE-2026-120778 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Executive summary
Microsoft is releasing this security advisory to provide information about a vulnerability in the Aspire CLI. This advisory provides guidance on updating affected applications and components.
An insecure temporary directory used by Aspire CLI-generated builds can allow a local attacker to influence MSBuild response-file discovery and execute code with the privileges of the developer running the CLI.
Announcement
Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/519
CVSS Details
- Version: 3.1
- Severity: High
- Score: 7.3
- Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness: CWE-379 (Creation of Temporary File in Directory with Insecure Permissions)
- MSRC severity: Important
Affected Platforms
- Platforms: Linux, macOS
- Architectures: x64, Arm64
Affected Packages
Standalone Aspire CLI
| Package | Affected version | Patched version |
|---|---|---|
| Aspire.Cli | >= 13.2.0, < 13.6.5 | 13.6.5 |
| Aspire.Cli.linux-x64 | >= 13.3.0, < 13.6.5 | 13.6.5 |
| Aspire.Cli.linux-arm64 | >= 13.3.0, < 13.6.5 | 13.6.5 |
| Aspire.Cli.linux-musl-x64 | >= 13.3.0, < 13.6.5 | 13.6.5 |
| Aspire.Cli.osx-x64 | >= 13.3.0, < 13.6.5 | 13.6.5 |
| Aspire.Cli.osx-arm64 | >= 13.3.0, < 13.6.5 | 13.6.5 |
Aspire CLI npm packages
| Package | Affected version | Patched version |
|---|---|---|
| @microsoft/aspire-cli | >= 13.4.2, < 13.6.5 | 13.6.5 |
| @microsoft/aspire-cli-linux-x64 | >= 13.4.2, < 13.6.5 | 13.6.5 |
| @microsoft/aspire-cli-linux-arm64 | >= 13.4.2, < 13.6.5 | 13.6.5 |
| @microsoft/aspire-cli-linux-musl-x64 | >= 13.4.2, < 13.6.5 | 13.6.5 |
| @microsoft/aspire-cli-osx-x64 | >= 13.4.2, < 13.6.5 | 13.6.5 |
| @microsoft/aspire-cli-osx-arm64 | >= 13.4.2, < 13.6.5 | 13.6.5 |
The affected scenario concerns CLI-generated server and integration builds on non-Windows systems when a local attacker can influence automatic MSBuild response-file discovery through an attacker-writable directory. This includes builds started by aspire sdk generate, aspire sdk dump, and aspire sdk export.
Advisory FAQ
How do I know if I am affected?
The reported scenario involves a local attacker influencing a generated build through a shared temporary-directory ancestor while another user invokes the Aspire CLI. Versions 13.2.0 through 13.6.4 are affected.
Aspire ships independently of .NET. Installing a .NET runtime or SDK update does not establish that the affected Aspire CLI has been updated.
How do I fix the issue?
Update the Aspire CLI to version 13.6.5 or later. If installed as a .NET tool, update the Aspire.Cli package. If installed using npm, update @microsoft/aspire-cli to version 13.6.5 or later; its platform-specific dependency must also resolve to version 13.6.5 or later. Otherwise update the CLI through its installation method.
Other Information
Reporting Security Issues
If you have found a potential security issue in a supported version of .NET, please report it to the Microsoft Security Response Center (MSRC) via the MSRC Researcher Portal. Further information can be found in the MSRC Report an Issue FAQ.
Security reports made through MSRC may qualify for the Microsoft .NET Bounty. Details of the Microsoft .NET Bounty Program including terms and conditions are at https://aka.ms/corebounty.
Support
You can ask questions about this issue in the Aspire repository.
Disclaimer
The information provided in this advisory is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.
External Links
Acknowledgements
- l8BL with ENKI WhiteHat
Revisions
V1.0 (November 10, 2026): Advisory published.
Advisory Timeline
- First published November 11, 2026 (15 days ago).
- Last revised November 11, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Aspire.Cli.linux-arm64 --version 13.6.5
dotnet add package Aspire.Cli.osx-arm64 --version 13.6.5
npm install @microsoft/aspire-cli-linux-x64@13.6.5
dotnet add package Aspire.Cli.linux-musl-x64 --version 13.6.5
npm install @microsoft/aspire-cli-osx-x64@13.6.5
dotnet add package Aspire.Cli.linux-x64 --version 13.6.5
npm install @microsoft/aspire-cli-linux-musl-x64@13.6.5
npm install @microsoft/aspire-cli-linux-arm64@13.6.5
dotnet add package Aspire.Cli --version 13.6.5
npm install @microsoft/aspire-cli-osx-arm64@13.6.5
npm install @microsoft/aspire-cli@13.6.5
dotnet add package Aspire.Cli.osx-x64 --version 13.6.5
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (12)
Affects 2 ecosystems: npm (6), NuGet (6).
| Package | Fixed In |
|---|---|
| Aspire.Cli.linux-arm64 NuGet · Affected: 13.3.0, 13.3.1, 13.3.2, 13.3.3 (+19 more) | 13.6.5 |
| Aspire.Cli.osx-arm64 NuGet · Affected: 13.3.0, 13.3.1, 13.3.2, 13.3.3 (+19 more) | 13.6.5 |
| @microsoft/aspire-cli-linux-x64 npm · Affected: All versions | 13.6.5 |
| Aspire.Cli.linux-musl-x64 NuGet · Affected: 13.3.0, 13.3.1, 13.3.2, 13.3.3 (+19 more) | 13.6.5 |
| @microsoft/aspire-cli-osx-x64 npm · Affected: All versions | 13.6.5 |
| Aspire.Cli.linux-x64 NuGet · Affected: 13.3.0, 13.3.1, 13.3.2, 13.3.3 (+19 more) | 13.6.5 |
| @microsoft/aspire-cli-linux-musl-x64 npm · Affected: All versions | 13.6.5 |
| @microsoft/aspire-cli-linux-arm64 npm · Affected: All versions | 13.6.5 |
| Aspire.Cli NuGet · Affected: 13.2.0, 13.2.1, 13.2.2, 13.2.3 (+24 more) | 13.6.5 |
| @microsoft/aspire-cli-osx-arm64 npm · Affected: All versions | 13.6.5 |
| @microsoft/aspire-cli npm · Affected: All versions | 13.6.5 |
| Aspire.Cli.osx-x64 NuGet · Affected: 13.3.0, 13.3.1, 13.3.2, 13.3.3 (+19 more) | 13.6.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-379
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.3 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/microsoft/aspire/security/advisories/GHSA-m63f-xhvm-6mv5WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-120778ADVISORY
- https://github.com/dotnet/announcements/issues/519WEB
- https://github.com/microsoft/aspire/issues/22101WEB
- https://github.com/microsoft/aspire/pull/22071WEB
- https://github.com/microsoft/aspire/commit/1ecd7cc70b5a5a5b8571fe3af69faa1646b8de47WEB
- https://github.com/microsoft/aspirePACKAGE
- https://github.com/microsoft/aspire/releases/tag/v13.6.5WEB
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120778WEB
Frequently Asked Questions
- What is CVE-2026-120778?
- Microsoft Security Advisory CVE-2026-120778 - Aspire Elevation of Privilege Vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.3/10).
- How do I check if my project is affected by CVE-2026-120778?
- CVE-2026-120778 affects Aspire.Cli.linux-arm64, Aspire.Cli.osx-arm64 and @microsoft/aspire-cli-linux-x64 (and 9 more). It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-120778 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 30.4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-120792HIGH
Microsoft Security Advisory CVE-2026-120792 - Aspire Information Disclosure Vulnerability
- CVE-2026-63184HIGH
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion