CVE-2026-120778 Aspire Elevation of Privilege Vulnerability
High 7.3
Published
Updated
Check this codebase for CVE-2026-120778 and fix it if it is affected.
What it is: CVE-2026-120778 is a high-severity vulnerability in Microsoft Aspire.Cli, published on 10 Nov 2026.
Exploitation: There is no known exploitation of CVE-2026-120778 in the wild and no public exploit code.
Affected packages and fixed versions:
- Aspire.Cli (NuGet): affected from 13.2.0; fixed in 13.6.5
- Aspire.Cli.linux-arm64 (NuGet): affected from 13.3.0; fixed in 13.6.5
- Aspire.Cli.linux-musl-x64 (NuGet): affected from 13.3.0; fixed in 13.6.5
- Aspire.Cli.linux-x64 (NuGet): affected from 13.3.0; fixed in 13.6.5
- Aspire.Cli.osx-arm64 (NuGet): affected from 13.3.0; fixed in 13.6.5
- Aspire.Cli.osx-x64 (NuGet): affected from 13.3.0; fixed in 13.6.5
- @microsoft/aspire-cli (npm): affected from 13.4.2; fixed in 13.6.5
- @microsoft/aspire-cli-linux-arm64 (npm): affected from 13.4.2; fixed in 13.6.5
- @microsoft/aspire-cli-linux-musl-x64 (npm): affected from 13.4.2; fixed in 13.6.5
- @microsoft/aspire-cli-linux-x64 (npm): affected from 13.4.2; fixed in 13.6.5
- @microsoft/aspire-cli-osx-arm64 (npm): affected from 13.4.2; fixed in 13.6.5
- @microsoft/aspire-cli-osx-x64 (npm): affected from 13.4.2; fixed in 13.6.5
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/CVE-2026-120778/ (Markdown: https://insights.sbomify.com/CVE-2026-120778/index.md)
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-120778?
CVE-2026-120778 is a high-severity vulnerability in Microsoft Aspire.Cli, published on 10 Nov 2026.
Official description
Creation of temporary file in directory with insecure permissions in .NET Aspire allows an authorized attacker to elevate privileges locally.
Weakness: CWE-379
Which versions are affected by CVE-2026-120778?
12 open source packages ship an affected version, including Aspire.Cli, Aspire.Cli.linux-arm64 and Aspire.Cli.linux-musl-x64.
| Package | Affected | Fixed in |
|---|---|---|
Aspire.Cli NuGetpkg:nuget/Aspire.Cli | From 13.2.0 | 13.6.5 |
Aspire.Cli.linux-arm64 NuGetpkg:nuget/Aspire.Cli.linux-arm64 | From 13.3.0 | 13.6.5 |
Aspire.Cli.linux-musl-x64 NuGetpkg:nuget/Aspire.Cli.linux-musl-x64 | From 13.3.0 | 13.6.5 |
Aspire.Cli.linux-x64 NuGetpkg:nuget/Aspire.Cli.linux-x64 | From 13.3.0 | 13.6.5 |
Aspire.Cli.osx-arm64 NuGetpkg:nuget/Aspire.Cli.osx-arm64 | From 13.3.0 | 13.6.5 |
Aspire.Cli.osx-x64 NuGetpkg:nuget/Aspire.Cli.osx-x64 | From 13.3.0 | 13.6.5 |
6 more packages
@microsoft/aspire-cli npmpkg:npm/%40microsoft/aspire-cli | From 13.4.2 | 13.6.5 |
@microsoft/aspire-cli-linux-arm64 npmpkg:npm/%40microsoft/aspire-cli-linux-arm64 | From 13.4.2 | 13.6.5 |
@microsoft/aspire-cli-linux-musl-x64 npmpkg:npm/%40microsoft/aspire-cli-linux-musl-x64 | From 13.4.2 | 13.6.5 |
@microsoft/aspire-cli-linux-x64 npmpkg:npm/%40microsoft/aspire-cli-linux-x64 | From 13.4.2 | 13.6.5 |
@microsoft/aspire-cli-osx-arm64 npmpkg:npm/%40microsoft/aspire-cli-osx-arm64 | From 13.4.2 | 13.6.5 |
@microsoft/aspire-cli-osx-x64 npmpkg:npm/%40microsoft/aspire-cli-osx-x64 | From 13.4.2 | 13.6.5 |
Status by vendor (1)
| Who | Release | Status | Packages |
|---|---|---|---|
| Upstream | fixed | @microsoft/aspire-cli (13.6.5), @microsoft/aspire-cli-linux-arm64 (13.6.5), @microsoft/aspire-cli-linux-musl-x64 (13.6.5) and 9 more |
How do I fix CVE-2026-120778?
Upgrade Aspire.Cli to 13.6.5 or later.
Is CVE-2026-120778 being exploited?
There is no known exploitation of CVE-2026-120778 in the wild and no public exploit code.
Sources
Also known as GHSA-m63f-xhvm-6mv5, UBUNTU-CVE-2026-120778.