high7.3
CVE-2026-120778
Creation of temporary file in directory with insecure permissions in .NET Aspire allows an authorized attacker to elevate privileges locally.
Impact
Creation of temporary file in directory with insecure permissions in .NET Aspire allows an authorized attacker to elevate privileges locally.
An attacker can exploit this with local access to the system, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| nuget | Aspire.Cli | >= 13.2.0, < 13.6.5 | 13.6.5 |
| nuget | Aspire.Cli.linux-x64 | >= 13.3.0, < 13.6.5 | 13.6.5 |
| nuget | Aspire.Cli.linux-arm64 | >= 13.3.0, < 13.6.5 | 13.6.5 |
| nuget | Aspire.Cli.linux-musl-x64 | >= 13.3.0, < 13.6.5 | 13.6.5 |
| nuget | Aspire.Cli.osx-x64 | >= 13.3.0, < 13.6.5 | 13.6.5 |
| nuget | Aspire.Cli.osx-arm64 | >= 13.3.0, < 13.6.5 | 13.6.5 |
| npm | @microsoft/aspire-cli | >= 13.4.2, < 13.6.5 | 13.6.5 |
| npm | @microsoft/aspire-cli-linux-x64 | >= 13.4.2, < 13.6.5 | 13.6.5 |
| npm | @microsoft/aspire-cli-linux-arm64 | >= 13.4.2, < 13.6.5 | 13.6.5 |
| npm | @microsoft/aspire-cli-linux-musl-x64 | >= 13.4.2, < 13.6.5 | 13.6.5 |
| npm | @microsoft/aspire-cli-osx-x64 | >= 13.4.2, < 13.6.5 | 13.6.5 |
| npm | @microsoft/aspire-cli-osx-arm64 | >= 13.4.2, < 13.6.5 | 13.6.5 |
Affected products · Microsoft
| Product | Affected versions | Fixed by |
|---|---|---|
| Aspire.Cli | from 13.5.4 before 13.6.5 | No vendor update listed |
| Aspire.Cli on Linux | before 13.6.5 | version 13.6.5 |
| Aspire.Cli on Mac OS | before 13.6.5 | version 13.6.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120778
- https://github.com/advisories/GHSA-m63f-xhvm-6mv5
- https://github.com/microsoft/aspire/security/advisories/GHSA-m63f-xhvm-6mv5
- https://nvd.nist.gov/vuln/detail/CVE-2026-120778
- https://github.com/dotnet/announcements/issues/519
- https://github.com/microsoft/aspire/issues/22101
- https://github.com/microsoft/aspire/pull/22071
- https://github.com/microsoft/aspire/commit/1ecd7cc70b5a5a5b8571fe3af69faa1646b8de47
- https://github.com/microsoft/aspire/releases/tag/v13.6.5