Skip to content
FlawDB
Sign in

CVE-2026-118741

HIGH 8.1EPSS 52%

ASP.NET Core Elevation of Privilege Vulnerability

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.

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

Vulnerability facts

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.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
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
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
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:COpen in CVSS calculator
Show all 11 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
EPSS
0.76% chance of exploitation in 30 days (percentile 52, 2026-11-28)
CWE
CWE-640
Published
Modified

Description

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

Affected and fixed versions

Package / productAffectedFixedSource
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

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
CRITICAL 9.8CVE-2026-112732

Microsoft Office Visio Remote Code Execution Vulnerability

Microsoft Office and 365 apps
EPSS 72%
CRITICAL 10.0CVE-2026-109484

Azure App Service for Linux Elevation of Privilege Vulnerability

Microsoft
EPSS 78%
HIGH 8.6CVE-2026-81962

Azure Machine Learning Information Disclosure Vulnerability

Microsoft
EPSS 62%
CRITICAL 9.6CVE-2026-70305

Azure Portal Spoofing Vulnerability

Microsoft
EPSS 57%
CRITICAL 9.9CVE-2026-70193

Microsoft Office SharePoint Remote Code Execution Vulnerability

Exchange and SharePoint Server
EPSS 76%
Sponsors