Skip to content
Access control Advisory Intermediate CVE-2026-120778

Aspire Elevation of Privilege Vulnerability (CVE-2026-120778)

A temporary file was created in a directory with insecure permissions in .NET Aspire, allowing an authorised attacker to elevate privileges locally. An attacker could execute code with the permissions of another user on the affected system, gaining access to that user's data and resources.

l8BL Follow

Originally disclosed on Microsoft

High 7.3 View original

Description

Creation of temporary file in directory with insecure permissions in .NET Aspire allows an authorized attacker to elevate privileges locally.

FAQ

What privileges could an attacker gain by successfully exploiting this vulnerability? An attacker could execute code with the permissions of another user on the affected system. This could give the attacker access to data and resources available to that user.

Aspire

Aspire

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by l8BL with ENKI WhiteHat. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a temporary file was created in a directory whose permissions allowed other local users to read, replace or otherwise interfere with it.

Impact

An attacker could execute code with the permissions of another user on the affected system, potentially reaching that user's data and resources.

What the attacker needed

Local access to the affected system; an authorised account on that system

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a program creates a temporary file, it should put it somewhere only the right people can reach. Here, the folder was too open, so someone already on the machine could interfere with that file. That let them run their own code as a different user, which is a step up in power.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by l8BL

View all

2 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.