# CVE-2026-118741: ASP.NET Core Elevation of Privilege Vulnerability

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High; E: U; RL: O; RC: C
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 52, 2026-11-28)
- **CWE:** CWE-640
- **Published:** 2026-11-10T18:24:15.572Z
- **Modified:** 2026-11-24T21:18:11.806Z

## Who should check

- Anyone running Microsoft.dotnet-scaffold version 10.0 \>= 10.0.0, \< 20.3.0
- Anyone running Microsoft.dotnet-scaffold version 20.x \>= 20.0.0-preview.1.26156.3, \< 20.3.0
- Anyone running Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5 \>= 10.0.0-rc.1.25458.5, \< 20.3.0
- Anyone running Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1 \>= 10.0.0-rc.1.25468.1, \< 20.3.0
- Anyone running Microsoft.dotnet-scaffold-aspnet version 9.0 \>= 9.0.0, \< 20.3.0
- Anyone running Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.8.24467.5 \>= 9.0.0-preview.8.24467.5, \< 20.3.0
- Anyone running Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.9.24509.5 \>= 9.0.0-preview.9.24509.5, \< 20.3.0
- Anyone running Microsoft.DotNet.Web.ProjectTemplates.10.0 \>= 10.0.13, \< 10.0.15

## Description

Improper authentication in ASP.NET Core allows an unauthorized attacker to elevate privileges over a network.

## Affected and fixed versions

- Microsoft.dotnet-scaffold version 10.0: \>= 10.0.0, \< 20.3.0 (cvelist)
- Microsoft.dotnet-scaffold version 20.x: \>= 20.0.0-preview.1.26156.3, \< 20.3.0 (cvelist)
- Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5: \>= 10.0.0-rc.1.25458.5, \< 20.3.0 (cvelist)
- Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1: \>= 10.0.0-rc.1.25468.1, \< 20.3.0 (cvelist)
- Microsoft.dotnet-scaffold-aspnet version 9.0: \>= 9.0.0, \< 20.3.0 (cvelist)
- Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.8.24467.5: \>= 9.0.0-preview.8.24467.5, \< 20.3.0 (cvelist)
- Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.9.24509.5: \>= 9.0.0-preview.9.24509.5, \< 20.3.0 (cvelist)
- Microsoft.DotNet.Web.ProjectTemplates.10.0: \>= 10.0.13, \< 10.0.15 (cvelist)
- Microsoft.DotNet.Web.ProjectTemplates.11.0: \>= 11.0.0-preview.1.26104.118, \< 11.0.0 (cvelist)
- Microsoft.DotNet.Web.ProjectTemplates.8.0: \>= 8.0.32, \< 8.0.34 (cvelist)
- Microsoft.DotNet.Web.ProjectTemplates.9.0: \>= 9.0.21, \< 9.0.23 (cvelist)
- Microsoft.VisualStudio.Web.CodeGeneration.Design: \>= NOT\_YET\_AVAILABLE, \< 9.0.13 (cvelist)
- Microsoft.VisualStudio.Web.CodeGeneration.Design version 10.0: \>= 10.0.0-rc.1.25458.5, \< 10.0.3 (cvelist)
- Microsoft.VisualStudio.Web.CodeGeneration.Design version 11.0.0-preview.1.26156.3: \>= 11.0.0-preview.1.26156.3, \< publication (cvelist)
- Microsoft.VisualStudio.Web.CodeGeneration.Design version 11.0.0-preview.1.26230.3: \>= 11.0.0-preview.1.26230.3, \< publication (cvelist)
- Microsoft.VisualStudio.Web.CodeGeneration.Design version 8.0: \>= 8.0.0-preview.1.23117.2, \< 8.0.24 (cvelist)
- Microsoft.VisualStudio.Web.CodeGeneration.Design version 9.0: \>= 9.0.0-preview.1.24112.3, \< 9.0.13 (cvelist)
- Microsoft.VisualStudio.Web.CodeGenerators.Mvc: \>= NOT\_YET\_AVAILABLE, \< 9.0.13 (cvelist)
- Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 10.0: \>= 10.0.0-rc.1.25458.5, \< 10.0.3 (cvelist)
- Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 11.0.0-preview.1.26156.3: \>= 11.0.0-preview.1.26156.3, \< publication (cvelist)
- Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 11.0.0-preview.1.26230.3: \>= 11.0.0-preview.1.26230.3, \< publication (cvelist)
- Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 8.0: \>= 8.0.0-preview.1.23117.2, \< 8.0.24 (cvelist)
- Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 9.0: \>= 9.0.0-preview.1.24112.3, \< 9.0.13 (cvelist)

## Mitigation

- Upgrade Microsoft.dotnet-scaffold version 10.0 to 20.3.0 or later.
- Upgrade Microsoft.dotnet-scaffold version 20.x to 20.3.0 or later.
- Upgrade Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5 to 20.3.0 or later.
- Upgrade Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1 to 20.3.0 or later.
- Upgrade Microsoft.dotnet-scaffold-aspnet version 9.0 to 20.3.0 or later.
- Upgrade Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.8.24467.5 to 20.3.0 or later.
- Upgrade Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.9.24509.5 to 20.3.0 or later.
- Upgrade Microsoft.DotNet.Web.ProjectTemplates.10.0 to 10.0.15 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-118741. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-118741.md
Affected: Microsoft.dotnet-scaffold version 10.0 >= 10.0.0, < 20.3.0; Microsoft.dotnet-scaffold version 20.x >= 20.0.0-preview.1.26156.3, < 20.3.0; Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5 >= 10.0.0-rc.1.25458.5, < 20.3.0; Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1 >= 10…
Fixed in: Microsoft.dotnet-scaffold version 10.0 20.3.0, Microsoft.dotnet-scaffold version 20.x 20.3.0, Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5 20.3.0, Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1 20.3.0, Microsoft.dotnet-scaffold-aspnet version 9.0 20.3.0, Microsoft.dotn…

Steps:
1. Search this machine and project for Microsoft.dotnet-scaffold version 10.0, Microsoft.dotnet-scaffold version 20.x, Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5, Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1, Microsoft.dotnet-scaffold-aspnet version 9.0, Microsoft.dotnet-scaffold-aspnet version 9.0.0-pr…: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-118741 being exploited?

There is no confirmed exploitation: CVE-2026-118741 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-118741?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-118741?

Microsoft.dotnet-scaffold version 10.0 \>= 10.0.0, \< 20.3.0; Microsoft.dotnet-scaffold version 20.x \>= 20.0.0-preview.1.26156.3, \< 20.3.0; Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5 \>= 10.0.0-rc.1.25458.5, \< 20.3.0; Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1 \>= 10.0.0-rc.1.25468.1, \< 20.3.0; Microsoft.dotnet-scaffold-aspnet version 9.0 \>= 9.0.0, \< 20.3.0; Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.8.24467.5 \>= 9.0.0-preview.8.24467.5, \< 20.3.0; Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.9.24509.5 \>= 9.0.0-preview.9.24509.5, \< 20.3.0; Microsoft.DotNet.Web.ProjectTemplates.10.0 \>= 10.0.13, \< 10.0.15; Microsoft.DotNet.Web.ProjectTemplates.11.0 \>= 11.0.0-preview.1.26104.118, \< 11.0.0; Microsoft.DotNet.Web.ProjectTemplates.8.0 \>= 8.0.32, \< 8.0.34; Microsoft.DotNet.Web.ProjectTemplates.9.0 \>= 9.0.21, \< 9.0.23; Microsoft.VisualStudio.Web.CodeGeneration.Design \>= NOT\_YET\_AVAILABLE, \< 9.0.13; Microsoft.VisualStudio.Web.CodeGeneration.Design version 10.0 \>= 10.0.0-rc.1.25458.5, \< 10.0.3; Microsoft.VisualStudio.Web.CodeGeneration.Design version 11.0.0-preview.1.26156.3 \>= 11.0.0-preview.1.26156.3, \< publication; Microsoft.VisualStudio.Web.CodeGeneration.Design version 11.0.0-preview.1.26230.3 \>= 11.0.0-preview.1.26230.3, \< publication; Microsoft.VisualStudio.Web.CodeGeneration.Design version 8.0 \>= 8.0.0-preview.1.23117.2, \< 8.0.24; Microsoft.VisualStudio.Web.CodeGeneration.Design version 9.0 \>= 9.0.0-preview.1.24112.3, \< 9.0.13; Microsoft.VisualStudio.Web.CodeGenerators.Mvc \>= NOT\_YET\_AVAILABLE, \< 9.0.13; Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 10.0 \>= 10.0.0-rc.1.25458.5, \< 10.0.3; Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 11.0.0-preview.1.26156.3 \>= 11.0.0-preview.1.26156.3, \< publication; Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 11.0.0-preview.1.26230.3 \>= 11.0.0-preview.1.26230.3, \< publication; Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 8.0 \>= 8.0.0-preview.1.23117.2, \< 8.0.24; Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 9.0 \>= 9.0.0-preview.1.24112.3, \< 9.0.13.

### Is there a fix for CVE-2026-118741?

Yes. Fixed in Microsoft.dotnet-scaffold version 10.0 20.3.0, Microsoft.dotnet-scaffold version 20.x 20.3.0, Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5 20.3.0, Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1 20.3.0, Microsoft.dotnet-scaffold-aspnet version 9.0 20.3.0, Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.8.24467.5 20.3.0, Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.9.24509.5 20.3.0, Microsoft.DotNet.Web.ProjectTemplates.10.0 10.0.15, Microsoft.DotNet.Web.ProjectTemplates.11.0 11.0.0, Microsoft.DotNet.Web.ProjectTemplates.8.0 8.0.34, Microsoft.DotNet.Web.ProjectTemplates.9.0 9.0.23, Microsoft.VisualStudio.Web.CodeGeneration.Design 9.0.13, Microsoft.VisualStudio.Web.CodeGeneration.Design version 10.0 10.0.3, Microsoft.VisualStudio.Web.CodeGeneration.Design version 8.0 8.0.24, Microsoft.VisualStudio.Web.CodeGeneration.Design version 9.0 9.0.13, Microsoft.VisualStudio.Web.CodeGenerators.Mvc 9.0.13, Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 10.0 10.0.3, Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 8.0 8.0.24, Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 9.0 9.0.13. Upgrade Microsoft.dotnet-scaffold version 10.0 to 20.3.0 or later. Upgrade Microsoft.dotnet-scaffold version 20.x to 20.3.0 or later. Upgrade Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5 to 20.3.0 or later. Upgrade Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1 to 20.3.0 or later. Upgrade Microsoft.dotnet-scaffold-aspnet version 9.0 to 20.3.0 or later. Upgrade Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.8.24467.5 to 20.3.0 or later. Upgrade Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.9.24509.5 to 20.3.0 or later. Upgrade Microsoft.DotNet.Web.ProjectTemplates.10.0 to 10.0.15 or later.

### How do I check if I'm affected by CVE-2026-118741?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118741>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-118741>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-118741> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-118741>
