Weak Password Recovery Mechanism for Forgotten Password in Microsoft products - CVE-2026-118741
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote attacker to take over a targeted account and elevate privileges.
The vulnerability exists due to a weak password recovery mechanism in ASP.NET Core when processing password reset requests. A remote attacker can submit a password reset request using a specially crafted email address that the application treats as equivalent to the victim's address to take over the targeted account.
Exploitation requires control of a distinct email address whose messages are delivered to a different mailbox than the victim's.
Affected software
Microsoft.VisualStudio.Web.CodeGenerators.Mvc
Microsoft.DotNet.Web.ProjectTemplates
Microsoft.dotnet-scaffold-aspnet
Microsoft.dotnet-scaffold
How to mitigate CVE-2026-118741
Microsoft.VisualStudio.Web.CodeGenerators.Mvc - addressed in versions 8.0.24, 9.0.13, 10.0.3
Microsoft.DotNet.Web.ProjectTemplates - addressed in versions 8.0.34, 9.0.23, 10.0.15
Microsoft.dotnet-scaffold-aspnet - update to 9.0.13
Microsoft.dotnet-scaffold - update to 20.3.0