Weak Password Recovery Mechanism for Forgotten Password in Microsoft products - CVE-2026-118741

 

Weak Password Recovery Mechanism for Forgotten Password in Microsoft products - CVE-2026-118741

Published: November 11, 2026


Vulnerability identifier: #VU165189
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-118741
CWE-ID: CWE-640
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.CodeGeneration.Design
Microsoft.VisualStudio.Web.CodeGenerators.Mvc
Microsoft.DotNet.Web.ProjectTemplates
Microsoft.dotnet-scaffold-aspnet
Microsoft.dotnet-scaffold

How to mitigate CVE-2026-118741

Install security update from vendor's website.

Microsoft.VisualStudio.Web.CodeGeneration.Design - addressed in versions 8.0.24, 9.0.13, 10.0.3
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

External References

Related Security Bulletins